mirror of
https://github.com/Instadapp/fluid-contracts-public.git
synced 2024-07-29 21:57:37 +00:00
575 lines
117 KiB
JSON
575 lines
117 KiB
JSON
|
{
|
||
|
"address": "0x692f94365c23FDB0d3e8b52d67f2E052AB59fE28",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "owner_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "fla_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "weth_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "oldFactory_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "newFactory_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "constructor"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "FluidVaultT1Migrator__InvalidOperation",
|
||
|
"type": "error"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "FluidVaultT1Migrator__NotAllowed",
|
||
|
"type": "error"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "vaultId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "owner",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "nft",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "collateral",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "debt",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "Migrated",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "user",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "newOwner",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "OwnershipTransferred",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "route",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "SetFlashloanConfig",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "to",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "token",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint256",
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "Withdraw",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "FLA",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract InstaFlashInterface",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "VAULT_T1_FACTORY_NEW",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IFluidVaultFactory",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "VAULT_T1_FACTORY_OLD",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IFluidVaultFactory",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "WETH",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IWETH9",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "slot_",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "key_",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "calculateStorageSlotUintMapping",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "pure",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "assets",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256[]",
|
||
|
"name": "amounts",
|
||
|
"type": "uint256[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256[]",
|
||
|
"name": "premiums",
|
||
|
"type": "uint256[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "initiator",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "_data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"name": "executeOperation",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "flashloanConfig",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "amount",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "route",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "vaultFactory_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "vaultId_",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "getVaultAddress",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "vault_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "pure",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "operator",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "from",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "tokenId",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"name": "onERC721Received",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes4",
|
||
|
"name": "",
|
||
|
"type": "bytes4"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "owner",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "token_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "route_",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "amount_",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "setFlashloanConfig",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "targets_",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes[]",
|
||
|
"name": "calldatas_",
|
||
|
"type": "bytes[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "spell",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "newOwner",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "transferOwnership",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "nftId_",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "vaultByNftId",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "uint256",
|
||
|
"name": "vaultId_",
|
||
|
"type": "uint256"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "vault_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "vault_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "vaultConfig",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "supply_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "borrow_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "to_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address[]",
|
||
|
"name": "tokens_",
|
||
|
"type": "address[]"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "uint256[]",
|
||
|
"name": "amounts_",
|
||
|
"type": "uint256[]"
|
||
|
}
|
||
|
],
|
||
|
"name": "withdraw",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"stateMutability": "payable",
|
||
|
"type": "receive"
|
||
|
}
|
||
|
],
|
||
|
"args": [
|
||
|
"0x9800020b610194dBa52CF606E8Aa142F9F256166",
|
||
|
"0xAB50Dd1C57938218627Df2311ef65b4e2e84aF48",
|
||
|
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
||
|
"0x3B38099b79a143038a3935C619B2A3eA70438C60",
|
||
|
"0x324c5Dc1fC42c7a4D43d92df1eBA58a54d13Bf2d"
|
||
|
],
|
||
|
"numDeployments": 1,
|
||
|
"solcInputHash": "b4b9c122a81dcb4a1780c3761f07caa2",
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fla_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"weth_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"oldFactory_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newFactory_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"FluidVaultT1Migrator__InvalidOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FluidVaultT1Migrator__NotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"vaultId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nft\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateral\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"debt\",\"type\":\"uint256\"}],\"name\":\"Migrated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"route\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"SetFlashloanConfig\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FLA\",\"outputs\":[{\"internalType\":\"contract InstaFlashInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VAULT_T1_FACTORY_NEW\",\"outputs\":[{\"internalType\":\"contract IFluidVaultFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VAULT_T1_FACTORY_OLD\",\"outputs\":[{\"internalType\":\"contract IFluidVaultFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"contract IWETH9\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slot_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"key_\",\"type\":\"uint256\"}],\"name\":\"calculateStorageSlotUintMapping\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"premiums\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"initiator\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"executeOperation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"flashloanConfig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"route\",\"typ
|
||
|
"bytecode": "0x6101006040523480156200001257600080fd5b50604051620033d3380380620033d38339810160408190526200003591620000bf565b600080546001600160a01b0319166001600160a01b03871690811782556040518792907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b0393841660c05291831660e05282166080521660a052506200012f565b80516001600160a01b0381168114620000ba57600080fd5b919050565b600080600080600060a08688031215620000d857600080fd5b620000e386620000a2565b9450620000f360208701620000a2565b93506200010360408701620000a2565b92506200011360608701620000a2565b91506200012360808701620000a2565b90509295509295909350565b60805160a05160c05160e051613216620001bd6000396000818161039f015281816108260152818161140f0152818161188c015261192d0152600081816102790152818161096001526112620152600081816103d3015281816106ae015281816109fc01526117660152600081816102200152818161049c01528181610aeb0152610bca01526132166000f3fe6080604052600436106100f75760003560e01c806382bc4aaf1161008a578063c30cfc9311610059578063c30cfc93146103c1578063edbd7668146103f5578063f2fde38b14610415578063f857ef671461043557600080fd5b806382bc4aaf146103105780638da5cb5b14610330578063920f5c841461035d578063ad5c46481461038d57600080fd5b806365d72688116100c657806365d726881461020e57806376ca658a146102675780637b5654b41461029b5780637bbede43146102bb57600080fd5b8063150b7a02146101035780631949138e146101595780631bbafd46146101a3578063264fffb0146101c557600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e36600461261a565b610482565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b34801561016557600080fd5b5061017961017436600461268d565b610ae4565b6040805192835273ffffffffffffffffffffffffffffffffffffffff909116602083015201610150565b3480156101af57600080fd5b506101c36101be3660046126a6565b610bf7565b005b3480156101d157600080fd5b506101f96101e03660046126db565b6001602081905260009182526040909120805491015482565b60408051928352602083019190915201610150565b34801561021a57600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610150565b34801561027357600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b3480156102a757600080fd5b506102426102b63660046126f8565b610cfb565b3480156102c757600080fd5b506103026102d6366004612724565b604080516020808201939093528082019390935280518084038201815260609093019052815191012090565b604051908152602001610150565b34801561031c57600080fd5b506101c361032b3660046128aa565b611167565b34801561033c57600080fd5b506000546102429073ffffffffffffffffffffffffffffffffffffffff1681565b34801561036957600080fd5b5061037d610378366004612a37565b611248565b6040519015158152602001610150565b34801561039957600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b3480156103cd57600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b34801561040157600080fd5b506101c3610410366004612b12565b611a7c565b34801561042157600080fd5b506101c36104303660046126db565b611c9f565b34801561044157600080fd5b506104556104503660046126db565b611d90565b6040805173ffffffffffffffffffffffffffffffffffffffff938416815292909116602083015201610150565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146104f3576040517fbb66a10b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610558576040517fbb66a10b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61062a60405180610180016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b84815273ffffffffffffffffffffff
|
||
|
"deployedBytecode": "0x6080604052600436106100f75760003560e01c806382bc4aaf1161008a578063c30cfc9311610059578063c30cfc93146103c1578063edbd7668146103f5578063f2fde38b14610415578063f857ef671461043557600080fd5b806382bc4aaf146103105780638da5cb5b14610330578063920f5c841461035d578063ad5c46481461038d57600080fd5b806365d72688116100c657806365d726881461020e57806376ca658a146102675780637b5654b41461029b5780637bbede43146102bb57600080fd5b8063150b7a02146101035780631949138e146101595780631bbafd46146101a3578063264fffb0146101c557600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e36600461261a565b610482565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b34801561016557600080fd5b5061017961017436600461268d565b610ae4565b6040805192835273ffffffffffffffffffffffffffffffffffffffff909116602083015201610150565b3480156101af57600080fd5b506101c36101be3660046126a6565b610bf7565b005b3480156101d157600080fd5b506101f96101e03660046126db565b6001602081905260009182526040909120805491015482565b60408051928352602083019190915201610150565b34801561021a57600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610150565b34801561027357600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b3480156102a757600080fd5b506102426102b63660046126f8565b610cfb565b3480156102c757600080fd5b506103026102d6366004612724565b604080516020808201939093528082019390935280518084038201815260609093019052815191012090565b604051908152602001610150565b34801561031c57600080fd5b506101c361032b3660046128aa565b611167565b34801561033c57600080fd5b506000546102429073ffffffffffffffffffffffffffffffffffffffff1681565b34801561036957600080fd5b5061037d610378366004612a37565b611248565b6040519015158152602001610150565b34801561039957600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b3480156103cd57600080fd5b506102427f000000000000000000000000000000000000000000000000000000000000000081565b34801561040157600080fd5b506101c3610410366004612b12565b611a7c565b34801561042157600080fd5b506101c36104303660046126db565b611c9f565b34801561044157600080fd5b506104556104503660046126db565b611d90565b6040805173ffffffffffffffffffffffffffffffffffffffff938416815292909116602083015201610150565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146104f3576040517fbb66a10b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610558576040517fbb66a10b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61062a60405180610180016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081525090565b84815273ffffffffffffffffffffffffffffffffffffffff8616602082015261065285610ae4565b73ffffffffffffffffffffffffffffffffffffffff1660a08301819052608083019190915261068090611d90565b73ffffffffffffffffffffffffffffffffffffffff908116606084015216604082015260808101516106d3907f000000000000000000000000000000000000000000000000000000000000000090610cfb565b73ffffffffffffffffffffffffffffffffffffffff1660c082015282156107115761070083850185612724565b610100830152610160820152610760565b606081015173ffffffffffffffffffffffffffffffffffffffff166000908152600160208181526040928390208351808501909452805480855292015492018290526101008301526101608201525b80610160015160000361079f576040517fbb66a10b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050606084015190915073ffffffffffffff
|
||
|
"devdoc": {
|
||
|
"kind": "dev",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"kind": "user",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"storageLayout": {
|
||
|
"storage": [
|
||
|
{
|
||
|
"astId": 2262,
|
||
|
"contract": "contracts/periphery/migration/main.sol:VaultT1Migrator",
|
||
|
"label": "owner",
|
||
|
"offset": 0,
|
||
|
"slot": "0",
|
||
|
"type": "t_address"
|
||
|
},
|
||
|
{
|
||
|
"astId": 976,
|
||
|
"contract": "contracts/periphery/migration/main.sol:VaultT1Migrator",
|
||
|
"label": "flashloanConfig",
|
||
|
"offset": 0,
|
||
|
"slot": "1",
|
||
|
"type": "t_mapping(t_address,t_struct(FlashloanConfig)971_storage)"
|
||
|
}
|
||
|
],
|
||
|
"types": {
|
||
|
"t_address": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "address",
|
||
|
"numberOfBytes": "20"
|
||
|
},
|
||
|
"t_mapping(t_address,t_struct(FlashloanConfig)971_storage)": {
|
||
|
"encoding": "mapping",
|
||
|
"key": "t_address",
|
||
|
"label": "mapping(address => struct VaultT1Migrator.FlashloanConfig)",
|
||
|
"numberOfBytes": "32",
|
||
|
"value": "t_struct(FlashloanConfig)971_storage"
|
||
|
},
|
||
|
"t_struct(FlashloanConfig)971_storage": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "struct VaultT1Migrator.FlashloanConfig",
|
||
|
"members": [
|
||
|
{
|
||
|
"astId": 968,
|
||
|
"contract": "contracts/periphery/migration/main.sol:VaultT1Migrator",
|
||
|
"label": "amount",
|
||
|
"offset": 0,
|
||
|
"slot": "0",
|
||
|
"type": "t_uint256"
|
||
|
},
|
||
|
{
|
||
|
"astId": 970,
|
||
|
"contract": "contracts/periphery/migration/main.sol:VaultT1Migrator",
|
||
|
"label": "route",
|
||
|
"offset": 0,
|
||
|
"slot": "1",
|
||
|
"type": "t_uint256"
|
||
|
}
|
||
|
],
|
||
|
"numberOfBytes": "64"
|
||
|
},
|
||
|
"t_uint256": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint256",
|
||
|
"numberOfBytes": "32"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|