4 txs
12 calls
constructor
constructor(string name, address vault_original, address governance)
functions
apiVersion
viewfunction apiVersion() view returns (string)
custom_protocol_fee
viewfunction custom_protocol_fee(address arg0) view returns (uint16)
default_protocol_fee_config
viewfunction default_protocol_fee_config() view returns (tuple)
governance
viewfunction governance() view returns (address)
name
viewfunction name() view returns (string)
pending_governance
viewfunction pending_governance() view returns (address)
protocol_fee_config
viewfunction protocol_fee_config() view returns (tuple)
protocol_fee_config
viewfunction protocol_fee_config(address vault) view returns (tuple)
shutdown
viewfunction shutdown() view returns (bool)
use_custom_protocol_fee
viewfunction use_custom_protocol_fee(address arg0) view returns (bool)
vault_original
viewfunction vault_original() view returns (address)
accept_governance
nonpayablefunction accept_governance()
deploy_new_vault
nonpayablefunction deploy_new_vault(address asset, string name, string symbol, address role_manager, uint256 profit_max_unlock_time) returns (address)
remove_custom_protocol_fee
nonpayablefunction remove_custom_protocol_fee(address vault)
set_custom_protocol_fee_bps
nonpayablefunction set_custom_protocol_fee_bps(address vault, uint16 new_custom_protocol_fee)
set_governance
nonpayablefunction set_governance(address new_governance)
set_protocol_fee_bps
nonpayablefunction set_protocol_fee_bps(uint16 new_protocol_fee_bps)
set_protocol_fee_recipient
nonpayablefunction set_protocol_fee_recipient(address new_protocol_fee_recipient)
shutdown_factory
nonpayablefunction shutdown_factory()
events
FactoryShutdown
event FactoryShutdown()
NewPendingGovernance
event NewPendingGovernance(address indexed pending_governance)
NewVault
event NewVault(address indexed vault_address, address indexed asset)
RemovedCustomProtocolFee
event RemovedCustomProtocolFee(address indexed vault)
UpdateCustomProtocolFee
event UpdateCustomProtocolFee(address indexed vault, uint16 new_custom_protocol_fee)
UpdateGovernance
event UpdateGovernance(address indexed governance)
UpdateProtocolFeeBps
event UpdateProtocolFeeBps(uint16 old_fee_bps, uint16 new_fee_bps)
UpdateProtocolFeeRecipient
event UpdateProtocolFeeRecipient(address indexed old_fee_recipient, address indexed new_fee_recipient)
errors
No errors.
creation bytecode
0x6020610e906000396000516040602082610e900160003960005111610e8b57602081610e900160003960005180604052602082018181610e90016060395050506020610eb06000396000518060a01c610e8b5760a0526020610ed06000396000518060a01c610e8b5760c05234610e8b5760405180600355600081601f0160051c60028111610e8b5780156100a857905b8060051b606001518160040155600101818118610090575b50505060a051610dc05260c051600155610dc06100ca61000039610de0610000f36003361161000c57610da8565b60003560e01c34610dae5763b4aeee7781186103115760e43610610dae576004358060a01c610dae576040526024356004016040813511610dae578035806060526020820181816080375050506044356004016020813511610dae5780358060c05260208201803560e0525050506064358060a01c610dae5761010052600054156100f5576008610120527f73687574646f776e0000000000000000000000000000000000000000000000006101405261012050610120518061014001601f826000031636823750506308c379a060e052602061010052601f19601f61012051011660440160fcfd5b7f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610280526020610dc060003960005160601b610293527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006102a7526080336101605260405161018052806101a052806101600160605180825260208201818183608060045afa5050508051806020830101601f82600003163682375050601f19601f82516020010116905081019050806101c052806101600160c0518082526020820160e051815250508051806020830101601f82600003163682375050601f19601f825160200101169050810190506101405261014080516020820120905060366102806000f58015610dae5761012052610120516375b30be66101405260a0604051610160528061018052806101600160605180825260208201818183608060045afa5050508051806020830101601f82600003163682375050601f19601f82516020010116905081019050806101a052806101600160c0518082526020820160e051815250508051806020830101601f82600003163682375050601f19601f82516020010116905081019050610100516101c0526084356101e05250803b15610dae57600061014061014461015c6000855af16102db573d600060003e3d6000fd5b50604051610120517f4241302c393c713e690702c4a45a57e93cef59aa8c6e2358495853b3420551d86000610140a36020610120f35b63f71bf70d81186103385760043610610dae576020610dc060003960005160405260206040f35b632582941081186103c05760043610610dae5760208060805260056040527f332e302e3200000000000000000000000000000000000000000000000000000060605260408160800181518082526020830160208301815181525050508051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506080f35b635153b19981186103dc5760043610610dae57336040526103fe565b636556424b811861044d5760243610610dae576004358060a01c610dae576040525b600960405160205260005260406000205461042c576006546060526007546080526040606061044b5661044b565b6008604051602052600052604060002054606052600754608052604060605bf35b6362fbf60381186105e85760243610610dae576004358060101c610dae576040526001543318156104d557600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b611388604051131561053e57600c6060527f66656520746f6f2068696768000000000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6006546060526007546080526080516105ae57600c60a0527f6e6f20726563697069656e74000000000000000000000000000000000000000060c05260a05060a0518060c001601f826000031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b6040516006557f678d2b2fe79c193f6c2c18d7515e339afcbd73fcfb360b1d0fbadae07342e05160605160a05260405160c052604060a0a1005b63f8ebccea811861070e5760243610610dae576004358060a01c610dae5760405260015433181561067057600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516106d457600c6060527f7a65726f2061646472657373000000000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6007546060526040516007556040516060517f6af4e38beb02e4b110090dd85c5adfb341e2278b905068773762fe4666e5db7a60006080a3005b63b5a71e0781186108df5760443610610dae576004358060a01c610dae576040526024358060101c610dae576060526001543318156107a457600e6080527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060a0526080506080518060a001601f826000031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b611388606051131561080d57600c6080527f66656520746f6f2068696768000000000000000000000000000000000000000060a0526080506080518060a001601f826000031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b60075461087157600c6080527f6e6f20726563697069656e74000000000000000000000000000000000000000060a0526080506080518060a001601f826000031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b606051600860405160205260005260406000205560096040516020526000526040600020546108ae57600160096040516020526000526040600020555b6040517f96d6cc624354ffe5a7207dc2dcc152e58e23ac8df9c96943f3cfb10ea4c140ac60605160805260206080a2005b6311a3a43481186109b85760243610610dae576004358060a01c610dae5760405260015433181561096757600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b60006008604051602052600052604060002055600060096040516020526000526040600020556040517f39612c4f13d7a058dece05cf6730e3322fd9a11d6f055a5eacdde49191f45f1f60006060a2005b63365adba68118610ac45760043610610dae57600154331815610a3257600e6040527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060605260405060405180606001601f826000031636823750506308c379a06000526020602052601f19601f6040510116604401601cfd5b60005415610a975760086040527f73687574646f776e00000000000000000000000000000000000000000000000060605260405060405180606001601f826000031636823750506308c379a06000526020602052601f19601f6040510116604401601cfd5b60016000557fc643193a97fc0e18d69c95e1c034b91f51fa164ba8ea68dfb6dd98568b9bc96b60006040a1005b63070313fa8118610b7d5760243610610dae576004358060a01c610dae57604052600154331815610b4c57600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516002556040517f90ad4c550d25bd23af61db38d1ff8671b89edaaa0bca0fc36bac5084ecc120bd60006060a2005b63a7dbff3e8118610c295760043610610dae57600254331815610bf75760166040527f6e6f742070656e64696e6720676f7665726e616e63650000000000000000000060605260405060405180606001601f826000031636823750506308c379a06000526020602052601f19601f6040510116604401601cfd5b336001556000600255337f8d55d160c0009eb3d739442df0a3ca089ed64378bfac017e7ddad463f9815b8760006040a2005b63fc0e74d18118610c485760043610610dae5760005460405260206040f35b635aa6e6758118610c675760043610610dae5760015460405260206040f35b63c66eb0a28118610c865760043610610dae5760025460405260206040f35b6306fdde038118610d0b5760043610610dae576020806040528060400160035480825260208201600082601f0160051c60028111610dae578015610cdd57905b80600401548160051b840152600101818118610cc6575b505050508051806020830101601f82600003163682375050601f19601f825160200101169050810190506040f35b6397ad2ecc8118610d305760043610610dae5760065460405260075460605260406040f35b63cbe286638118610d6b5760243610610dae576004358060a01c610dae57604052600860405160205260005260406000205460605260206060f35b63e94860d88118610da65760243610610dae576004358060a01c610dae57604052600960405160205260005260406000205460605260206060f35b505b60006000fd5b600080fda165767970657283000307000b005b600080fd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000f51c84c5d4eb01cfc9883297f1324171848fc32400000000000000000000000063aaa6867d0697de09cf7050c045c44dea8a5455000000000000000000000000000000000000000000000000000000000000000f52697a5661756c74466163746f72790000000000000000000000000000000000