mirror of
https://github.com/Instadapp/fluid-contracts-public.git
synced 2024-07-29 21:57:37 +00:00
562 lines
129 KiB
JSON
562 lines
129 KiB
JSON
|
{
|
||
|
"address": "0xa2c39D2a6B51e572B9611A061dA69090Ea53b2C6",
|
||
|
"abi": [
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "vaultT1Factory_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "fluidWalletFactoryProxy_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "constructor"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "FluidWalletFactory__InvalidOperation",
|
||
|
"type": "error"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "FluidWalletFactory__NotAllowed",
|
||
|
"type": "error"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "previousAdmin",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "address",
|
||
|
"name": "newAdmin",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "AdminChanged",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "beacon",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "BeaconUpgraded",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "owner",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "uint256",
|
||
|
"name": "nft",
|
||
|
"type": "uint256"
|
||
|
}
|
||
|
],
|
||
|
"name": "Executed",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "oldImplementation_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "newImplementation_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "FluidImplementationUpdate",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "uint8",
|
||
|
"name": "version",
|
||
|
"type": "uint8"
|
||
|
}
|
||
|
],
|
||
|
"name": "Initialized",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "previousOwner",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "newOwner",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "OwnershipTransferred",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "implementation",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "Upgraded",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "VAULT_T1_FACTORY",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IFluidVaultFactory",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "WALLET_PROXY",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "implementation_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "changeImplementation",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "owner_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "computeWallet",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "wallet_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "owner_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "deploy",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "wallet_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "owner_",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "initialize",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"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": [],
|
||
|
"name": "proxiableUUID",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "bytes32",
|
||
|
"name": "",
|
||
|
"type": "bytes32"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "renounceOwnership",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "view",
|
||
|
"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": "address",
|
||
|
"name": "newImplementation",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"name": "upgradeTo",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "newImplementation",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bytes",
|
||
|
"name": "data",
|
||
|
"type": "bytes"
|
||
|
}
|
||
|
],
|
||
|
"name": "upgradeToAndCall",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "payable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "walletImplementation",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"stateMutability": "payable",
|
||
|
"type": "receive"
|
||
|
}
|
||
|
],
|
||
|
"transactionHash": "0x5e1b00d316410db97cb1dd9d50c385967aa1fd2254c84d614ce36d412f6ed765",
|
||
|
"receipt": {
|
||
|
"to": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
|
||
|
"from": "0xca5872F6d6942320146F0C353857aa7952533e90",
|
||
|
"contractAddress": null,
|
||
|
"transactionIndex": 95,
|
||
|
"gasUsed": "2092205",
|
||
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000004000000000000000000000000000000400000000000000000000010000000000000000000000000000000000000000040000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"blockHash": "0xaa64d8eb348d159ed77325befc42a74de0681430f973219eb4728992e0878ea3",
|
||
|
"transactionHash": "0x5e1b00d316410db97cb1dd9d50c385967aa1fd2254c84d614ce36d412f6ed765",
|
||
|
"logs": [
|
||
|
{
|
||
|
"transactionIndex": 95,
|
||
|
"blockNumber": 19469216,
|
||
|
"transactionHash": "0x5e1b00d316410db97cb1dd9d50c385967aa1fd2254c84d614ce36d412f6ed765",
|
||
|
"address": "0xa2c39D2a6B51e572B9611A061dA69090Ea53b2C6",
|
||
|
"topics": [
|
||
|
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
||
|
],
|
||
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000ff",
|
||
|
"logIndex": 149,
|
||
|
"blockHash": "0xaa64d8eb348d159ed77325befc42a74de0681430f973219eb4728992e0878ea3"
|
||
|
}
|
||
|
],
|
||
|
"blockNumber": 19469216,
|
||
|
"cumulativeGasUsed": "8085092",
|
||
|
"status": 1,
|
||
|
"byzantium": true
|
||
|
},
|
||
|
"args": [
|
||
|
"0x324c5Dc1fC42c7a4D43d92df1eBA58a54d13Bf2d",
|
||
|
"0xd8Ae986159e350B6535539B8A1e488658452f25E"
|
||
|
],
|
||
|
"numDeployments": 2,
|
||
|
"solcInputHash": "a6845ded92237df3261b081a5fff9779",
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vaultT1Factory_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fluidWalletFactoryProxy_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"FluidWalletFactory__InvalidOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FluidWalletFactory__NotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nft\",\"type\":\"uint256\"}],\"name\":\"Executed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldImplementation_\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newImplementation_\",\"type\":\"address\"}],\"name\":\"FluidImplementationUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"VAULT_T1_FACTORY\",\"outputs\":[{\"internalType\":\"contract IFluidVaultFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WALLET_PROXY\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation_\",\"type\":\"address\"}],\"name\":\"changeImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"computeWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"wallet_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"deploy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"wallet_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"byt
|
||
|
"bytecode": "0x60e06040523060c0523480156200001557600080fd5b50604051620026c0380380620026c0833981016040819052620000389162000195565b6001600160a01b03821660805260405182908290819062000059906200016a565b6001600160a01b039091168152602001604051809103906000f08015801562000086573d6000803e3d6000fd5b506001600160a01b031660a05250620000a09050620000a8565b5050620001cd565b600054610100900460ff1615620001155760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116101562000168576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b610333806200238d83390190565b80516001600160a01b03811681146200019057600080fd5b919050565b60008060408385031215620001a957600080fd5b620001b48362000178565b9150620001c46020840162000178565b90509250929050565b60805160a05160c0516121436200024a6000396000818161095801528181610a0d01528181610cd301528181610d830152610ecc0152600081816102fc015281816103b501528181610ba30152610c0e01526000818161029d01528181610431015281816105b001528181610666015261077e01526121436000f3fe6080604052600436106100ec5760003560e01c8063715018a61161008a5780638da5cb5b116100595780638da5cb5b146102bf578063ba8df43c146102ea578063c4d66de81461031e578063f2fde38b1461033e57600080fd5b8063715018a61461022b5780638117abc11461024057806382bc4aaf1461026b5780638a1c73641461028b57600080fd5b80633659cfe6116100c65780633659cfe6146101b55780634c96a389146101d55780634f1ef286146101f557806352d1902d1461020857600080fd5b806301477764146100f8578063150b7a021461014257806317a68dd81461019357600080fd5b366100f357005b600080fd5b34801561010457600080fd5b5061011861011336600461198d565b61035e565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561014e57600080fd5b5061016261015d3660046119aa565b610417565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610139565b34801561019f57600080fd5b506101b36101ae36600461198d565b6108ab565b005b3480156101c157600080fd5b506101b36101d036600461198d565b610941565b3480156101e157600080fd5b506101186101f036600461198d565b610b4b565b6101b3610203366004611b7e565b610cbc565b34801561021457600080fd5b5061021d610eb2565b604051908152602001610139565b34801561023757600080fd5b506101b3610f9e565b34801561024c57600080fd5b5060655473ffffffffffffffffffffffffffffffffffffffff16610118565b34801561027757600080fd5b506101b3610286366004611c82565b610fd8565b34801561029757600080fd5b506101187f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cb57600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610118565b3480156102f657600080fd5b506101187f000000000000000000000000000000000000000000000000000000000000000081565b34801561032a57600080fd5b506101b361033936600461198d565b611040565b34801561034a57600080fd5b506101b361035936600461198d565b6111d3565b6040805173ffffffffffffffffffffffffffffffffffffffff83166020808301919091528251808303820181528284019384905280519101203060788301526f5af43d82803e903d91602b57fd5bf3ff60648301527f00000000000000000000000000000000000000000000000000000000000000006054830152733d602d80600a3d3981f3363d3d373d3d3d363d7390925260988101919091526037604c82012060b882015260556083909101206000905b92915050565b60003373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610488576040517fe258880c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146104ed576040517fe258880c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000829003610528576040517fe258880c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160808101825260009181019190915260608082015284815273ffffffffffffffffffffffffffffffffffffffff8616602082015261056c84840185611d3a565b6060820152602081015161057f90610b4b565b73ffffffffffffffffffffffffffffffffffffffff908116604080840182905283516020808601516060870151
|
||
|
"deployedBytecode": "0x6080604052600436106100ec5760003560e01c8063715018a61161008a5780638da5cb5b116100595780638da5cb5b146102bf578063ba8df43c146102ea578063c4d66de81461031e578063f2fde38b1461033e57600080fd5b8063715018a61461022b5780638117abc11461024057806382bc4aaf1461026b5780638a1c73641461028b57600080fd5b80633659cfe6116100c65780633659cfe6146101b55780634c96a389146101d55780634f1ef286146101f557806352d1902d1461020857600080fd5b806301477764146100f8578063150b7a021461014257806317a68dd81461019357600080fd5b366100f357005b600080fd5b34801561010457600080fd5b5061011861011336600461198d565b61035e565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561014e57600080fd5b5061016261015d3660046119aa565b610417565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610139565b34801561019f57600080fd5b506101b36101ae36600461198d565b6108ab565b005b3480156101c157600080fd5b506101b36101d036600461198d565b610941565b3480156101e157600080fd5b506101186101f036600461198d565b610b4b565b6101b3610203366004611b7e565b610cbc565b34801561021457600080fd5b5061021d610eb2565b604051908152602001610139565b34801561023757600080fd5b506101b3610f9e565b34801561024c57600080fd5b5060655473ffffffffffffffffffffffffffffffffffffffff16610118565b34801561027757600080fd5b506101b3610286366004611c82565b610fd8565b34801561029757600080fd5b506101187f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cb57600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610118565b3480156102f657600080fd5b506101187f000000000000000000000000000000000000000000000000000000000000000081565b34801561032a57600080fd5b506101b361033936600461198d565b611040565b34801561034a57600080fd5b506101b361035936600461198d565b6111d3565b6040805173ffffffffffffffffffffffffffffffffffffffff83166020808301919091528251808303820181528284019384905280519101203060788301526f5af43d82803e903d91602b57fd5bf3ff60648301527f00000000000000000000000000000000000000000000000000000000000000006054830152733d602d80600a3d3981f3363d3d373d3d3d363d7390925260988101919091526037604c82012060b882015260556083909101206000905b92915050565b60003373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610488576040517fe258880c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16146104ed576040517fe258880c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000829003610528576040517fe258880c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160808101825260009181019190915260608082015284815273ffffffffffffffffffffffffffffffffffffffff8616602082015261056c84840185611d3a565b6060820152602081015161057f90610b4b565b73ffffffffffffffffffffffffffffffffffffffff90811660408084018290528351602080860151606087015193517f00000000000000000000000000000000000000000000000000000000000000009096169563b88d4fde9530959094936105e9939201611ee7565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016106179493929190611fb4565b600060405180830381600087803b15801561063157600080fd5b505af1158015610645573d6000803e3d6000fd5b50505050806020015173ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004016106bf91815260200190565b602060405180830381865afa1580156106dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107009190611ff3565b73ffffffffffffffffffffffffffffffffffffffff161461074d576040517f13f6790d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156107da573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081
|
||
|
"devdoc": {
|
||
|
"events": {
|
||
|
"AdminChanged(address,address)": {
|
||
|
"details": "Emitted when the admin account has changed."
|
||
|
},
|
||
|
"BeaconUpgraded(address)": {
|
||
|
"details": "Emitted when the beacon is upgraded."
|
||
|
},
|
||
|
"Initialized(uint8)": {
|
||
|
"details": "Triggered when the contract has been initialized or reinitialized."
|
||
|
},
|
||
|
"Upgraded(address)": {
|
||
|
"details": "Emitted when the implementation is upgraded."
|
||
|
}
|
||
|
},
|
||
|
"kind": "dev",
|
||
|
"methods": {
|
||
|
"onERC721Received(address,address,uint256,bytes)": {
|
||
|
"details": "ERC721 callback used Fluid Vault Factory and executes actions encoded in `data_` Caller should be Vault T1 Factory.",
|
||
|
"params": {
|
||
|
"data_": "data bytes containing the `abi.encoded()` actions that are executed like in `Action[]`",
|
||
|
"from_": "from_ previous owner of the given token ID",
|
||
|
"operator_": "operator_ caller to transfer the the given token ID",
|
||
|
"tokenId_": "tokenId_ id of the ERC721"
|
||
|
}
|
||
|
},
|
||
|
"owner()": {
|
||
|
"details": "Returns the address of the current owner."
|
||
|
},
|
||
|
"proxiableUUID()": {
|
||
|
"details": "Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."
|
||
|
},
|
||
|
"transferOwnership(address)": {
|
||
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
||
|
},
|
||
|
"upgradeTo(address)": {
|
||
|
"details": "Upgrade the implementation of the proxy to `newImplementation`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."
|
||
|
},
|
||
|
"upgradeToAndCall(address,bytes)": {
|
||
|
"details": "Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."
|
||
|
}
|
||
|
},
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"kind": "user",
|
||
|
"methods": {
|
||
|
"initialize(address)": {
|
||
|
"notice": "initializes the contract with `owner_` as owner"
|
||
|
},
|
||
|
"renounceOwnership()": {
|
||
|
"notice": "override renounce ownership as it could leave the contract in an unwanted state if called by mistake."
|
||
|
}
|
||
|
},
|
||
|
"version": 1
|
||
|
},
|
||
|
"storageLayout": {
|
||
|
"storage": [
|
||
|
{
|
||
|
"astId": 138,
|
||
|
"contract": "contracts/periphery/wallet/factory/main.sol:FluidWalletFactory",
|
||
|
"label": "_initialized",
|
||
|
"offset": 0,
|
||
|
"slot": "0",
|
||
|
"type": "t_uint8"
|
||
|
},
|
||
|
{
|
||
|
"astId": 141,
|
||
|
"contract": "contracts/periphery/wallet/factory/main.sol:FluidWalletFactory",
|
||
|
"label": "_initializing",
|
||
|
"offset": 1,
|
||
|
"slot": "0",
|
||
|
"type": "t_bool"
|
||
|
},
|
||
|
{
|
||
|
"astId": 625,
|
||
|
"contract": "contracts/periphery/wallet/factory/main.sol:FluidWalletFactory",
|
||
|
"label": "__gap",
|
||
|
"offset": 0,
|
||
|
"slot": "1",
|
||
|
"type": "t_array(t_uint256)50_storage"
|
||
|
},
|
||
|
{
|
||
|
"astId": 10,
|
||
|
"contract": "contracts/periphery/wallet/factory/main.sol:FluidWalletFactory",
|
||
|
"label": "_owner",
|
||
|
"offset": 0,
|
||
|
"slot": "51",
|
||
|
"type": "t_address"
|
||
|
},
|
||
|
{
|
||
|
"astId": 130,
|
||
|
"contract": "contracts/periphery/wallet/factory/main.sol:FluidWalletFactory",
|
||
|
"label": "__gap",
|
||
|
"offset": 0,
|
||
|
"slot": "52",
|
||
|
"type": "t_array(t_uint256)49_storage"
|
||
|
},
|
||
|
{
|
||
|
"astId": 3215,
|
||
|
"contract": "contracts/periphery/wallet/factory/main.sol:FluidWalletFactory",
|
||
|
"label": "_implementation",
|
||
|
"offset": 0,
|
||
|
"slot": "101",
|
||
|
"type": "t_address"
|
||
|
}
|
||
|
],
|
||
|
"types": {
|
||
|
"t_address": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "address",
|
||
|
"numberOfBytes": "20"
|
||
|
},
|
||
|
"t_array(t_uint256)49_storage": {
|
||
|
"base": "t_uint256",
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint256[49]",
|
||
|
"numberOfBytes": "1568"
|
||
|
},
|
||
|
"t_array(t_uint256)50_storage": {
|
||
|
"base": "t_uint256",
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint256[50]",
|
||
|
"numberOfBytes": "1600"
|
||
|
},
|
||
|
"t_bool": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "bool",
|
||
|
"numberOfBytes": "1"
|
||
|
},
|
||
|
"t_uint256": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint256",
|
||
|
"numberOfBytes": "32"
|
||
|
},
|
||
|
"t_uint8": {
|
||
|
"encoding": "inplace",
|
||
|
"label": "uint8",
|
||
|
"numberOfBytes": "1"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|