2 txs
3 calls
constructor
constructor()
functions
owner
viewfunction owner() view returns (address)
predictDeterministicAddress
viewfunction predictDeterministicAddress(address implementation, bytes32 salt) view returns (address)
trustedWrappers
viewfunction trustedWrappers(address wrapper) view returns (bool isTrusted)
createWNFT
payablefunction createWNFT(address _implementation, bytes _initCallData, bytes32 _salt) payable returns (address wnft)
createWNFT
payablefunction createWNFT(address _implementation, bytes _initCallData) payable returns (address wnft)
renounceOwnership
nonpayablefunction renounceOwnership()
setWrapperStatus
nonpayablefunction setWrapperStatus(address _wrapper, bool _status)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
EnvelopV2Deployment
event EnvelopV2Deployment(address indexed proxy, address indexed implementation, uint256 envelopOracleType)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
ERC1167FailedCreateClone
error ERC1167FailedCreateClone()
FailedInnerCall
error FailedInnerCall()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
creation bytecode
0x6080604052348015600f57600080fd5b503380603557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b603c816041565b506091565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6109d5806100a06000396000f3fe60806040526004361061007b5760003560e01c8063a14c4cf11161004e578063a14c4cf114610112578063ae700dfa14610125578063ef3d444614610165578063f2fde38b1461017857600080fd5b8063360d0fad14610080578063715018a6146100bd5780638863a638146100d45780638da5cb5b146100f4575b600080fd5b34801561008c57600080fd5b506100a061009b36600461078b565b610198565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100c957600080fd5b506100d26101ad565b005b3480156100e057600080fd5b506100d26100ef3660046107b5565b6101c1565b34801561010057600080fd5b506000546001600160a01b03166100a0565b6100a0610120366004610896565b6101f4565b34801561013157600080fd5b506101556101403660046108ee565b60016020526000908152604090205460ff1681565b60405190151581526020016100b4565b6100a0610173366004610909565b610328565b34801561018457600080fd5b506100d26101933660046108ee565b610455565b60006101a48383610493565b90505b92915050565b6101b56104f3565b6101bf6000610520565b565b6101c96104f3565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b3360009081526001602052604081205460ff166102585760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c7920666f7220456e76656c6f7020417574686f72697a6564000000000060448201526064015b60405180910390fd5b6102628483610570565b835190915015610279576102778184346105de565b505b836001600160a01b0316816001600160a01b03167f8dc66cafb77b325538c856bfa5892b31ca7305adfa48f6a09e030e261cda0795866001600160a01b0316632c5426f36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103109190610957565b60405190815260200160405180910390a39392505050565b3360009081526001602052604081205460ff166103875760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c7920666f7220456e76656c6f7020417574686f72697a65640000000000604482015260640161024f565b6103908361067d565b8251909150156103a7576103a58183346105de565b505b826001600160a01b0316816001600160a01b03167f8dc66cafb77b325538c856bfa5892b31ca7305adfa48f6a09e030e261cda0795856001600160a01b0316632c5426f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e9190610957565b60405190815260200160405180910390a392915050565b61045d6104f3565b6001600160a01b03811661048757604051631e4fbdf760e01b81526000600482015260240161024f565b61049081610520565b50565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff602482015260148101839052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018290526037600c820120607882015260556043909101206000906101a4565b6000546001600160a01b031633146101bf5760405163118cdaa760e01b815233600482015260240161024f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b0381166101a7576040516330be1a3d60e21b815260040160405180910390fd5b6060814710156106035760405163cd78605960e01b815230600482015260240161024f565b600080856001600160a01b0316848660405161061f9190610970565b60006040518083038185875af1925050503d806000811461065c576040519150601f19603f3d011682016040523d82523d6000602084013e610661565b606091505b50915091506106718683836106ef565b925050505b9392505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166106ea576040516330be1a3d60e21b815260040160405180910390fd5b919050565b606082610704576106ff8261074b565b610676565b815115801561071b57506001600160a01b0384163b155b1561074457604051639996b31560e01b81526001600160a01b038516600482015260240161024f565b5080610676565b80511561075b5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146106ea57600080fd5b6000806040838503121561079e57600080fd5b6107a783610774565b946020939093013593505050565b600080604083850312156107c857600080fd5b6107d183610774565b9150602083013580151581146107e657600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261081857600080fd5b813567ffffffffffffffff811115610832576108326107f1565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610861576108616107f1565b60405281815283820160200185101561087957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156108ab57600080fd5b6108b484610774565b9250602084013567ffffffffffffffff8111156108d057600080fd5b6108dc86828701610807565b93969395505050506040919091013590565b60006020828403121561090057600080fd5b6101a482610774565b6000806040838503121561091c57600080fd5b61092583610774565b9150602083013567ffffffffffffffff81111561094157600080fd5b61094d85828601610807565b9150509250929050565b60006020828403121561096957600080fd5b5051919050565b6000825160005b818110156109915760208186018101518583015201610977565b50600092019182525091905056fea26469706673582212208b306dd7bc336e2949ecc1750f8a711e7f93dc5df838681e5ae8ddcd5da73eef64736f6c634300081a0033