0 txs
0 calls
constructor
constructor(address _coinImpl)
functions
coinImpl
viewfunction coinImpl() view returns (address)
contractName
purefunction contractName() pure returns (string)
contractVersion
purefunction contractVersion() pure returns (string)
implementation
viewfunction implementation() view returns (address)
owner
viewfunction owner() view returns (address)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
deploy
payablefunction deploy(address payoutRecipient, address[] owners, string uri, string name, string symbol, address platformReferrer, address currency, int24 tickLower, uint256 orderSize) payable returns (address, uint256)
deploy
payablefunction deploy(address payoutRecipient, address[] owners, string uri, string name, string symbol, bytes poolConfig, address platformReferrer, uint256 orderSize) payable returns (address, uint256)
deployWithHook
payablefunction deployWithHook(address payoutRecipient, address[] owners, string uri, string name, string symbol, bytes poolConfig, address platformReferrer, address hook, bytes hookData) payable returns (address coin, bytes hookDataOut)
initialize
nonpayablefunction initialize(address initialOwner)
renounceOwnership
nonpayablefunction renounceOwnership()
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
events
CoinCreated
event CoinCreated(address indexed caller, address indexed payoutRecipient, address indexed platformReferrer, address currency, string uri, string name, string symbol, address coin, address pool, string version)
Initialized
event Initialized(uint64 version)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Upgraded
event Upgraded(address indexed implementation)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
ERC1167FailedCreateClone
error ERC1167FailedCreateClone()
ERC1967InvalidImplementation
error ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable
error ERC1967NonPayable()
ERC20TransferAmountMismatch
error ERC20TransferAmountMismatch()
EthTransferInvalid
error EthTransferInvalid()
FailedInnerCall
error FailedInnerCall()
InvalidHook
error InvalidHook()
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
UpgradeToMismatchedContractName
error UpgradeToMismatchedContractName(string currentName, string newName)
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
creation bytecode
0x60c0346101a057601f611a4338819003918201601f19168301916001600160401b038311848410176101a4578084926020946040528339810103126101a057516001600160a01b03811681036101a057306080525f516020611a235f395f51905f5254604081901c60ff161591906001600160401b03811680159081610198575b600114908161018e575b159081610185575b50610176576001600160401b031981166001175f516020611a235f395f51905f52558261014c575b5060a0526100f2575b60405161186a90816101b982396080518181816104fd015261058e015260a0518181816108e50152610f540152f35b68ff0000000000000000195f516020611a235f395f51905f5254165f516020611a235f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a16100c3565b6001600160481b03191668010000000000000001175f516020611a235f395f51905f52555f6100ba565b63f92ee8a960e01b5f5260045ffd5b9050155f610092565b303b15915061008a565b849150610080565b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c80630d36fc7714610914578063109cbac5146108d05780633c7bca94146107ca5780634f1ef2861461055157806352d1902d146104eb5780635c60da1b146104b7578063715018a61461045057806375d0c0dc146104215780638da5cb5b146103ed578063a0a8e460146103a6578063ad3cb1cc1461035f578063c4d66de8146101ef578063c7ce4e16146100e25763f2fde38b146100b3575f80fd5b346100de5760203660031901126100de576100dc6100cf610bc4565b6100d76116c9565b610d99565b005b5f80fd5b6101003660031901126100de576100f7610bc4565b6024356001600160401b0381116100de57610116903690600401610c25565b906044356001600160401b0381116100de57610136903690600401610cb6565b916064356001600160401b0381116100de57610156903690600401610cb6565b6084356001600160401b0381116100de57610175903690600401610cb6565b9060a435946001600160401b0386116100de576101996101b0963690600401610cb6565b936101a2610bda565b956101ab610e0a565b610e9a565b6101bc60e435826112ec565b60015f5160206117f55f395f51905f5255604080516001600160a01b0390931683526020830191909152819081015b0390f35b346100de5760203660031901126100de57610208610bc4565b5f5160206118155f395f51905f525460ff8160401c1615916001600160401b03821680159081610357575b600114908161034d575b159081610344575b506103355767ffffffffffffffff1982166001175f5160206118155f395f51905f52556102ac9183610309575b5061027b6116fc565b6102836116fc565b61028b6116fc565b60015f5160206117f55f395f51905f52556102a46116fc565b6100d76116fc565b6102b257005b68ff0000000000000000195f5160206118155f395f51905f5254165f5160206118155f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b68ffffffffffffffffff191668010000000000000001175f5160206118155f395f51905f525583610272565b63f92ee8a960e01b5f5260045ffd5b90501584610245565b303b15915061023d565b849150610233565b346100de575f3660031901126100de576101eb604051610380604082610bf0565b60058152640352e302e360dc1b6020820152604051918291602083526020830190610cfa565b346100de575f3660031901126100de576101eb6040516103c7604082610bf0565b60058152640302e382e360dc1b6020820152604051918291602083526020830190610cfa565b346100de575f3660031901126100de575f5160206117b55f395f51905f52546040516001600160a01b039091168152602090f35b346100de575f3660031901126100de576101eb61043c610d6c565b604051918291602083526020830190610cfa565b346100de575f3660031901126100de576104686116c9565b5f5160206117b55f395f51905f5280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100de575f3660031901126100de575f5160206117d55f395f51905f52546040516001600160a01b039091168152602090f35b346100de575f3660031901126100de577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036105425760206040515f5160206117d55f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b60403660031901126100de57610565610bc4565b6024356001600160401b0381116100de57610584903690600401610cb6565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163081149081156107a8575b50610542576105c66116c9565b604051631d74303760e21b81526001600160a01b03831692905f8160048183885af15f9181610784575b50610721575b506040516352d1902d60e01b8152602081600481875afa5f91816106ed575b5061062d5783634c9c8ce360e01b5f5260045260245ffd5b805f5160206117d55f395f51905f528592036106db5750813b156106c9575f5160206117d55f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a28151156106b1575f808360206100dc95519101845af46106ab611727565b91611756565b5050346106ba57005b63b398979f60e01b5f5260045ffd5b634c9c8ce360e01b5f5260045260245ffd5b632a87526960e21b5f5260045260245ffd5b9091506020813d602011610719575b8161070960209383610bf0565b810103126100de57519085610615565b3d91506106fc565b610729610d6c565b815160208301209060208151910120146105f65761076e9061078061074c610d6c565b9160405193849363a23cbf7b60e01b8552604060048601526044850190610cfa565b83810360031901602485015290610cfa565b0390fd5b6107a19192503d805f833e6107998183610bf0565b810190610e61565b90856105f0565b5f5160206117d55f395f51905f52546001600160a01b031614159050836105b9565b6101203660031901126100de576107df610bc4565b6024356001600160401b0381116100de576107fe903690600401610c25565b6044356001600160401b0381116100de5761081d903690600401610cb6565b906064356001600160401b0381116100de5761083d903690600401610cb6565b6084356001600160401b0381116100de5761085c903690600401610cb6565b60a435939091906001600160a01b03851685036100de5761087b610bda565b9360e435968760020b8098036100de576108c397610897610e0a565b604051966001602089015260018060a01b031660408801526060870152606086526101ab608087610bf0565b6101bc61010435826112ec565b346100de575f3660031901126100de576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6101203660031901126100de57610929610bc4565b6024356001600160401b0381116100de57610948903690600401610c25565b906044356001600160401b0381116100de57610968903690600401610cb6565b6064356001600160401b0381116100de57610987903690600401610cb6565b916084356001600160401b0381116100de576109a7903690600401610cb6565b9060a4356001600160401b0381116100de576109c7903690600401610cb6565b926109d0610bda565b60e4356001600160a01b03811695908690036100de5761010435946001600160401b0386116100de57366023870112156100de578560040135976001600160401b0389116100de573660248a890101116100de57610a4194610a30610e0a565b60609a6001600160a01b0397610e9a565b16938215610ba957506040516301ffc9a760e01b815263337bf44960e21b6004820152602081602481865afa908115610b60575f91610b7a575b5015610b6b575f916024608485936040519687958694859363337bf44960e21b85523360048601528b828601526060604486015282606486015201848401378181018301879052601f01601f1916810103019134905af1908115610b60575f91610b10575b50905b60015f5160206117f55f395f51905f52556101eb6040519283928352604060208401526040830190610cfa565b90503d805f833e610b218183610bf0565b8101906020818303126100de578051906001600160401b0382116100de57019080601f830112156100de578151610b5a92602001610d36565b82610ae0565b6040513d5f823e3d90fd5b639c9d882360e01b5f5260045ffd5b610b9c915060203d602011610ba2575b610b948183610bf0565b810190610d1e565b85610a7b565b503d610b8a565b93925050503415610ae3575b630f09014960e21b5f5260045ffd5b600435906001600160a01b03821682036100de57565b60c435906001600160a01b03821682036100de57565b90601f801991011681019081106001600160401b03821117610c1157604052565b634e487b7160e01b5f52604160045260245ffd5b81601f820112156100de578035916001600160401b038311610c11578260051b9160405193610c576020850186610bf0565b84526020808501938201019182116100de57602001915b818310610c7b5750505090565b82356001600160a01b03811681036100de57815260209283019201610c6e565b6001600160401b038111610c1157601f01601f191660200190565b81601f820112156100de57602081359101610cd082610c9b565b92610cde6040519485610bf0565b828452828201116100de57815f92602092838601378301015290565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b908160209103126100de575180151581036100de5790565b929192610d4282610c9b565b91610d506040519384610bf0565b8294818452818301116100de578281602093845f96015e010152565b60405190610d7b604083610bf0565b600f82526e5a6f7261436f696e466163746f727960881b6020830152565b6001600160a01b03168015610df7575f5160206117b55f395f51905f5280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b60025f5160206117f55f395f51905f525414610e335760025f5160206117f55f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b908160209103126100de57516001600160a01b03811681036100de5790565b6020818303126100de578051906001600160401b0382116100de57019080601f830112156100de578151610e9792602001610d36565b90565b93949591905f926040516020810190610ecd602082875180838a01875e81015f838201520301601f198101835282610bf0565b51902060405160208101913360601b835260018060a01b038916986bffffffffffffffffffffffff199060601b16603483015260488201524160601b606882015243607c82015244609c8201524260bc8201523a60dc8201523260601b60fc82015260f08152610f3f61011082610bf0565b5190206e5af43d82803e903d91602b57fd5bf37f0000000000000000000000000000000000000000000000000000000000000000763d602d80600a3d3981f3363d3d373d3d3d363d7300000062ffffff8260881c16175f5260781b1760205260018060a01b0390603760095ff5169788156112c757883b156100de5791604051928391634c1ced9360e11b835260e4830189600485015260e060248501528151809152602061010485019201905f5b8181106112a55750505092611051839261103f61102d61101b5f986003198882030160448901528b610cfa565b8681036003190160648801528c610cfa565b8581036003190160848701528d610cfa565b8481036003190160a486015290610cfa565b6001600160a01b0390911660c48301520381838b5af18015610b6057611290575b506040516328c22dfb60e11b81526020816004818a5afa908115611285578391611266575b5060405163e5a6b10f60e01b8152906020826004818b5afa91821561125b57849261123a575b50604051631755ff2160e01b8152966020886004818c5afa97881561122f5785986111fe575b50604051630505472360e51b815285816004818d5afa9586156111f25780966111a6575b5050906111776111a0926111697f3d1462491f7fa8396808c230d95c3fa60fd09ef59506d0b9bd1cf072d2a03f56979861115b60405198899860018060a01b0316895260e060208a015260e0890190610cfa565b908782036040890152610cfa565b908582036060870152610cfa565b608084018a90526001600160a01b0398891660a085015283810360c08501529716963395610cfa565b0390a490565b7f3d1462491f7fa8396808c230d95c3fa60fd09ef59506d0b9bd1cf072d2a03f569650916111696111e8611177936111a096953d8091833e6107998183610bf0565b9750509192611107565b604051903d90823e3d90fd5b61122191985060203d602011611228575b6112198183610bf0565b810190610e42565b965f6110e3565b503d61120f565b6040513d87823e3d90fd5b61125491925060203d602011611228576112198183610bf0565b905f6110bd565b6040513d86823e3d90fd5b61127f915060203d602011611228576112198183610bf0565b5f611097565b6040513d85823e3d90fd5b61129d9192505f90610bf0565b5f905f611072565b82516001600160a01b0316845287955060209384019390920191600101610fee565b6330be1a3d60e21b5f5260045ffd5b91908260409103126100de576020825192015190565b91905f92341590811580926116c0575b61130557505050565b60405163e5a6b10f60e01b81529394509091906001600160a01b0316602084600481845afa938415610b60575f9461169f575b50604051633fb80b1560e01b815292602084600481855afa938415610b60575f9461167e575b506040516315ab88c960e31b815294602086600481865afa958615610b60575f9661165d575b506001600160a01b039081169516851461160157610bb5576040516370a0823160e01b8152306004820152602081602481885afa908115610b60575f916115cf575b506114145f8060405160208101906323b872dd60e01b8252336024820152306044820152876064820152606481526113ff608482610bf0565b5190828a5af161140d611727565b9087611756565b80519081151591826115b4575b50506115a1576040516370a0823160e01b815230600482015290602082602481895afa918215610b60575f9261156d575b50810390811161155957820361154a5760405163095ea7b360e01b81526001600160a01b03821660048201526024810183905293602090859060449082905f905af1928315610b60576114ea9460409461152d575b505f845180968195829463c957180f60e01b8452600484016080905f92949360a082019560018060a01b0316825260208201528260408201528260608201520152565b03925af1908115610b60575f916114ff575090565b611521915060403d604011611526575b6115198183610bf0565b8101906112d6565b905090565b503d61150f565b6115459060203d602011610ba257610b948183610bf0565b6114a7565b63f36aeaa960e01b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b9091506020813d602011611599575b8161158960209383610bf0565b810103126100de5751905f611452565b3d915061157c565b84635274afe760e01b5f5260045260245ffd5b6115c79250602080918301019101610d1e565b155f80611421565b90506020813d6020116115f9575b816115ea60209383610bf0565b810103126100de57515f6113c6565b3d91506115dd565b506040805163c957180f60e01b81526001600160a01b0394909416600485015260248401929092525f6044840181905260648401819052608484015291925090829060a490829034905af1908115610b60575f916114ff575090565b61167791965060203d602011611228576112198183610bf0565b945f611384565b61169891945060203d602011611228576112198183610bf0565b925f61135e565b6116b991945060203d602011611228576112198183610bf0565b925f611338565b508215156112fc565b5f5160206117b55f395f51905f52546001600160a01b031633036116e957565b63118cdaa760e01b5f523360045260245ffd5b60ff5f5160206118155f395f51905f525460401c161561171857565b631afcd79f60e31b5f5260045ffd5b3d15611751573d9061173882610c9b565b916117466040519384610bf0565b82523d5f602084013e565b606090565b9061177a575080511561176b57805190602001fd5b630a12f52160e11b5f5260045ffd5b815115806117ab575b61178b575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b1561178356fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220de8d721f70b88d52d79ddf8953e20584e3028f5bd156bace0ba1698cb0201e4664736f6c634300081c0033f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00000000000000000000000000becae78d441fba11017bb7a8798d018b0977f76d