Skip to content

Commit

Permalink
release: deploy to avalanche mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
MejiasDev committed Apr 16, 2024
1 parent d3ba1e6 commit feb7b91
Show file tree
Hide file tree
Showing 22 changed files with 1,386 additions and 2,634 deletions.
309 changes: 309 additions & 0 deletions deployments/AdminFacet.json

Large diffs are not rendered by default.

82 changes: 82 additions & 0 deletions deployments/AuthorizationFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,87 @@
"salt": ""
},
"address": "0xDA9f756dFfa9Bc04f02E6a14638f5b0336BA2f57"
},
"avalanche": {
"artifact": {
"_format": "hh-sol-artifact-1",
"contractName": "AuthorizationFacet",
"sourceName": "contracts/facets/AuthorizationFacet.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "LibDiamond__OnlyOwner",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "_address",
"type": "address"
}
],
"name": "authorize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_address",
"type": "address"
}
],
"name": "authorized",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_address",
"type": "address"
}
],
"name": "unAuthorize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x6080604052348015600f57600080fd5b506102908061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80633bbbc7c914610046578063b6a5d7de1461005b578063b91816111461006e575b600080fd5b61005961005436600461021d565b6100bb565b005b61005961006936600461021d565b61010f565b6100a761007c36600461021d565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b6100c3610166565b73ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b610117610166565b73ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c13205473ffffffffffffffffffffffffffffffffffffffff16331461021b577fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132054604080517f28803e4700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092166004830152336024830152519081900360440190fd5b565b60006020828403121561022f57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461025357600080fd5b939250505056fea2646970667358221220d7c028645cb6cae4cc5d20fb032f48a9f8714feb527c48af443c8cf4577f3b8564736f6c63430008190033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80633bbbc7c914610046578063b6a5d7de1461005b578063b91816111461006e575b600080fd5b61005961005436600461021d565b6100bb565b005b61005961006936600461021d565b61010f565b6100a761007c36600461021d565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b6100c3610166565b73ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b610117610166565b73ffffffffffffffffffffffffffffffffffffffff16600090815260208190526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c13205473ffffffffffffffffffffffffffffffffffffffff16331461021b577fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132054604080517f28803e4700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9092166004830152336024830152519081900360440190fd5b565b60006020828403121561022f57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461025357600080fd5b939250505056fea2646970667358221220d7c028645cb6cae4cc5d20fb032f48a9f8714feb527c48af443c8cf4577f3b8564736f6c63430008190033",
"linkReferences": {},
"deployedLinkReferences": {}
},
"options": {
"args": [],
"log": true,
"skipIfAlreadyDeployed": true,
"useCreate3Factory": false,
"salt": ""
},
"address": "0x07b1549fB6692e0E6e2C406919d956E350d65731"
}
}
222 changes: 222 additions & 0 deletions deployments/DiamondCutFacet.json

Large diffs are not rendered by default.

116 changes: 116 additions & 0 deletions deployments/DiamondInit.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,121 @@
"salt": ""
},
"address": "0x86615becFBEccFe7D13dEEc8e0e8C287A5182cF7"
},
"avalanche": {
"artifact": {
"_format": "hh-sol-artifact-1",
"contractName": "DiamondInit",
"sourceName": "contracts/upgradeInitializers/DiamondInit.sol",
"abi": [
{
"inputs": [],
"name": "DiamondInit__WrongDeploymentArguments",
"type": "error"
},
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "routerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "factoryAddress",
"type": "address"
},
{
"internalType": "address",
"name": "stratosphereAddress",
"type": "address"
},
{
"internalType": "address",
"name": "vaporDexAggregator",
"type": "address"
},
{
"internalType": "address",
"name": "vaporDexAdapter",
"type": "address"
},
{
"internalType": "address",
"name": "usdc",
"type": "address"
},
{
"internalType": "address",
"name": "vape",
"type": "address"
},
{
"internalType": "address",
"name": "weth",
"type": "address"
},
{
"internalType": "uint256",
"name": "launchFee",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minLiquidityETH",
"type": "uint256"
},
{
"internalType": "uint40",
"name": "minLockDuration",
"type": "uint40"
},
{
"internalType": "address",
"name": "sablier",
"type": "address"
},
{
"internalType": "address",
"name": "nonFungiblePositionManager",
"type": "address"
},
{
"internalType": "address",
"name": "teamMultisig",
"type": "address"
},
{
"internalType": "uint256",
"name": "slippage",
"type": "uint256"
}
],
"internalType": "struct DiamondInit.DeployArgs",
"name": "_args",
"type": "tuple"
}
],
"name": "init",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x6080604052348015600f57600080fd5b506106538061001f6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80638d76b8ef14610030575b600080fd5b61004361003e36600461050e565b610045565b005b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f6020527f699d9daa71b280d05a152715774afa0a81a312594b2d731d6b0b2552b7d6f69f805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091821681179092557ff97e938d8af42f52387bb74b8b526fda8f184cc2aa534340a8d75a88fbecc77580548216831790557f65d510a5d8f7ef134ec444f7f34ee808c8eeb5177cdfd16be0c40fe1ab43369580548216831790557f7f5828d0000000000000000000000000000000000000000000000000000000006000527f5622121b47b8cd0120c4efe45dd5483242f54a3d49bd7679be565d47694918c38054909116909117905580517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c9073ffffffffffffffffffffffffffffffffffffffff1615806101b65750604082015173ffffffffffffffffffffffffffffffffffffffff16155b806101d95750606082015173ffffffffffffffffffffffffffffffffffffffff16155b806101fc5750608082015173ffffffffffffffffffffffffffffffffffffffff16155b8061021f575060a082015173ffffffffffffffffffffffffffffffffffffffff16155b8061022d5750610100820151155b80610251575061016082015173ffffffffffffffffffffffffffffffffffffffff16155b8061025f5750610120820151155b80610274575061014082015164ffffffffff16155b80610297575060e082015173ffffffffffffffffffffffffffffffffffffffff16155b806102bb575061018082015173ffffffffffffffffffffffffffffffffffffffff16155b806102df57506101a082015173ffffffffffffffffffffffffffffffffffffffff16155b15610316576040517fa62246b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b508051600280547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff93841617909155602083015160018054831691841691909117905560408301516003805483169184169190911790556060830151600480548316918416919091179055608083015160058054831691841691909117905560a083015160068054831691841691909117905560c083015160078054831691841691909117905560e0830151600880548316918416919091179055610100830151600c55610120830151600d55610140830151601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff909216919091179055610160830151600980548316918416919091179055610180830151600a805483169184169190911790556101a0830151600b805490921692169190911790556101c00151600e55565b6040516101e0810167ffffffffffffffff811182821017156104ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b803573ffffffffffffffffffffffffffffffffffffffff811681146104f457600080fd5b919050565b803564ffffffffff811681146104f457600080fd5b60006101e0828403121561052157600080fd5b61052961047f565b610532836104d0565b8152610540602084016104d0565b6020820152610551604084016104d0565b6040820152610562606084016104d0565b6060820152610573608084016104d0565b608082015261058460a084016104d0565b60a082015261059560c084016104d0565b60c08201526105a660e084016104d0565b60e0820152610100838101359082015261012080840135908201526101406105cf8185016104f9565b908201526101606105e18482016104d0565b908201526101806105f38482016104d0565b908201526101a06106058482016104d0565b908201526101c092830135928101929092525091905056fea264697066735822122080e6d210cf3c628d3daa486412f1d7ac694a76837280984ce4514f407c24e71a64736f6c63430008190033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80638d76b8ef14610030575b600080fd5b61004361003e36600461050e565b610045565b005b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f6020527f699d9daa71b280d05a152715774afa0a81a312594b2d731d6b0b2552b7d6f69f805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091821681179092557ff97e938d8af42f52387bb74b8b526fda8f184cc2aa534340a8d75a88fbecc77580548216831790557f65d510a5d8f7ef134ec444f7f34ee808c8eeb5177cdfd16be0c40fe1ab43369580548216831790557f7f5828d0000000000000000000000000000000000000000000000000000000006000527f5622121b47b8cd0120c4efe45dd5483242f54a3d49bd7679be565d47694918c38054909116909117905580517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c9073ffffffffffffffffffffffffffffffffffffffff1615806101b65750604082015173ffffffffffffffffffffffffffffffffffffffff16155b806101d95750606082015173ffffffffffffffffffffffffffffffffffffffff16155b806101fc5750608082015173ffffffffffffffffffffffffffffffffffffffff16155b8061021f575060a082015173ffffffffffffffffffffffffffffffffffffffff16155b8061022d5750610100820151155b80610251575061016082015173ffffffffffffffffffffffffffffffffffffffff16155b8061025f5750610120820151155b80610274575061014082015164ffffffffff16155b80610297575060e082015173ffffffffffffffffffffffffffffffffffffffff16155b806102bb575061018082015173ffffffffffffffffffffffffffffffffffffffff16155b806102df57506101a082015173ffffffffffffffffffffffffffffffffffffffff16155b15610316576040517fa62246b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b508051600280547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff93841617909155602083015160018054831691841691909117905560408301516003805483169184169190911790556060830151600480548316918416919091179055608083015160058054831691841691909117905560a083015160068054831691841691909117905560c083015160078054831691841691909117905560e0830151600880548316918416919091179055610100830151600c55610120830151600d55610140830151601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000001664ffffffffff909216919091179055610160830151600980548316918416919091179055610180830151600a805483169184169190911790556101a0830151600b805490921692169190911790556101c00151600e55565b6040516101e0810167ffffffffffffffff811182821017156104ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b803573ffffffffffffffffffffffffffffffffffffffff811681146104f457600080fd5b919050565b803564ffffffffff811681146104f457600080fd5b60006101e0828403121561052157600080fd5b61052961047f565b610532836104d0565b8152610540602084016104d0565b6020820152610551604084016104d0565b6040820152610562606084016104d0565b6060820152610573608084016104d0565b608082015261058460a084016104d0565b60a082015261059560c084016104d0565b60c08201526105a660e084016104d0565b60e0820152610100838101359082015261012080840135908201526101406105cf8185016104f9565b908201526101606105e18482016104d0565b908201526101806105f38482016104d0565b908201526101a06106058482016104d0565b908201526101c092830135928101929092525091905056fea264697066735822122080e6d210cf3c628d3daa486412f1d7ac694a76837280984ce4514f407c24e71a64736f6c63430008190033",
"linkReferences": {},
"deployedLinkReferences": {}
},
"options": {
"args": [],
"log": true,
"skipIfAlreadyDeployed": true,
"useCreate3Factory": false,
"salt": ""
},
"address": "0x8655d39A9E14B3458E68d9792E0e01a054ad384c"
}
}
Loading

0 comments on commit feb7b91

Please sign in to comment.