0 txs
0 calls
constructor
constructor(address _config, address _singleton)
functions
abandonedUpgrade
viewfunction abandonedUpgrade() view returns (bool)
calcTokenAddress
viewfunction calcTokenAddress(bytes32 tokenHash) view returns (address)
config
viewfunction config() view returns (address)
currentSingleton
viewfunction currentSingleton() view returns (address)
implementation
viewfunction implementation() view returns (address)
nextSingleton
viewfunction nextSingleton() view returns (address)
nextSingletonTimestamp
viewfunction nextSingletonTimestamp() view returns (uint256)
tokenDeployedMapping
viewfunction tokenDeployedMapping(address ca) view returns (bool)
upgradeSingletonTimestamp
viewfunction upgradeSingletonTimestamp() view returns (uint256)
abandonUpgrade
nonpayablefunction abandonUpgrade()
deployToken
nonpayablefunction deployToken(string name, string symbol, address launchConfig, bytes32 tokenHash) returns (address proxy)
emitTokenTransfer
nonpayablefunction emitTokenTransfer(address token, address from, address to, uint256 amount)
upgrade
nonpayablefunction upgrade()
upgradeNextSingleton
nonpayablefunction upgradeNextSingleton(address _nextSingleton)
events
AbandonedUpgrade
event AbandonedUpgrade()
AccountCreation
event AccountCreation(address indexed ca, bytes32 slat)
TokenTransfer
event TokenTransfer(address token, address from, address to, uint256 amount)
Upgrade
event Upgrade(address indexed currentSingleton, address indexed newSingleton)
UpgradeNextSingleton
event UpgradeNextSingleton(address indexed nextSingleton, uint256 timestamp)
errors
No errors.
creation bytecode
0x60a060405234801561001057600080fd5b5060405161170638038061170683398101604081905261002f91610080565b6001600160a01b03918216608052600080546001600160a01b031916919092161790556203f4806002556004805460ff191690556100ba565b6001600160a01b038116811461007d57600080fd5b50565b6000806040838503121561009357600080fd5b825161009e81610068565b60208401519092506100af81610068565b809150509250929050565b60805161160e6100f860003960008181610157015281816101f5015281816103a60152818161088a015281816109120152610a6f015261160e6000f3fe608060405234801561001057600080fd5b50600436106100ba5760003560e01c8063263096a1146100bf57806347874362146100f7578063490aaa98146101045780634b85b2f61461011b5780635c60da1b146101255780636e2df4b61461013f57806379502c55146101525780638b16729f14610179578063b6ec8c341461018c578063c2e716c81461019f578063c6770db6146101b2578063cb5d25da146101c5578063ce86cfb7146101ce578063d55ec697146101e1575b600080fd5b6100e26100cd366004610c98565b60056020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6004546100e29060ff1681565b61010d60035481565b6040519081526020016100ee565b6101236101e9565b005b6000546001600160a01b03165b6040516100ee9190610cbc565b600154610132906001600160a01b031681565b6101327f000000000000000000000000000000000000000000000000000000000000000081565b600054610132906001600160a01b031681565b61013261019a366004610cd0565b6102dc565b6101326101ad366004610d8c565b610398565b6101236101c0366004610e0d565b6107aa565b61010d60025481565b6101236101dc366004610c98565b610873565b610123610a63565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610251573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102759190610e4e565b6001600160a01b0316146102a45760405162461bcd60e51b815260040161029b90610e6b565b60405180910390fd5b6004805460ff191660011790556040517f2a1061ffe4f8b3787b70960ff0e756c3273e19e408b197363a479f5ebd05269b90600090a1565b6000806040518061062001604052806105fd8152602001610fdc6105fd91399050600081306040516020016103119190610cbc565b60408051601f198184030181529082905261032f9291602001610ec4565b60408051808303601f1901815282825280516020918201206001600160f81b0319828501523060601b6001600160601b03191660218501526035840197909752605580840197909752815180840390970187526075909201905284519401939093209392505050565b6000336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663778ebe8f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610402573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104269190610e4e565b6001600160a01b0316146104885760405162461bcd60e51b8152602060048201526024808201527f466163746f72793a2063616c6c6572206973206e6f7420746865206c61756e636044820152631a1c185960e21b606482015260840161029b565b60006040518061062001604052806105fd8152602001610fdc6105fd9139905060008686866040516024016104bf93929190610f1f565b60408051601f198184030181529190526020810180516001600160e01b03166303bf912560e11b179052905060006104f6856102dc565b6001600160a01b0381166000908152600560209081526040808320805460ff19166001179055519293509091859161053091309101610cbc565b60408051601f198184030181529082905261054e9291602001610ec4565b6040516020818303038152906040529050858151826020016000f5945061057485610c18565b816001600160a01b0316856001600160a01b0316146105cb5760405162461bcd60e51b815260206004820152601360248201527210dc99585d194c8818d85b1b0819985a5b1959606a1b604482015260640161029b565b60008590506000866001600160a01b0316856040516105ea9190610f5d565b6000604051808303816000865af19150503d8060008114610627576040519150601f19603f3d011682016040523d82523d6000602084013e61062c565b606091505b50509050806106725760405162461bcd60e51b8152602060048201526012602482015271151bdad95b881cd95d1d5c0819985a5b195960721b604482015260640161029b565b6040516370a0823160e01b81526001600160a01b0383169063a9059cbb90339083906370a08231906106a8903090600401610cbc565b602060405180830381865afa1580156106c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e99190610f79565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610734573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107589190610f92565b50816001600160a01b03167f6b6c555e8ae1c4f0ac0f0faf20e8f1406c3b872759d31fdf15e849b1c02ce8718960405161079491815260200190565b60405180910390a2505050505050949350505050565b3360009081526005602052604090205460ff1661081b5760405162461bcd60e51b815260206004820152602960248201527f466163746f72793a2063616c6c6572206973206e6f742074686520746f6b656e6044820152680819195c1b1bde595960ba1b606482015260840161029b565b604080516001600160a01b03868116825285811660208301528416818301526060810183905290517fae33cb06d7303f889d953bb09540983050163c1c4c98b330db432a911cfb63fd9181900360800190a150505050565b604051631f8e5f9160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631f8e5f91906108bf903390600401610cbc565b602060405180830381865afa1580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109009190610f92565b8061099d5750336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109929190610e4e565b6001600160a01b0316145b6109f55760405162461bcd60e51b815260206004820152602360248201527f466163746f72793a2063616c6c6572206973206e6f7420746865206f706572616044820152623a37b960e91b606482015260840161029b565b600180546001600160a01b0319166001600160a01b038316179055600254610a1d9042610fb4565b60038190556040519081526001600160a01b038216907f39ef188642c5c7e4bd3f79e6e0ce37c9afa034ba7153e703be9c7aaceaf80d029060200160405180910390a250565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190610e4e565b6001600160a01b031614610b155760405162461bcd60e51b815260040161029b90610e6b565b60045460ff1615610b635760405162461bcd60e51b8152602060048201526018602482015277466163746f72793a206162616e646f6e207570677261646560401b604482015260640161029b565b6001546001600160a01b031615801590610b7f57506003544210155b610bc25760405162461bcd60e51b8152602060048201526014602482015273466163746f72793a206e6f74207570677261646560601b604482015260640161029b565b60018054600080546001600160a01b0383166001600160a01b031991821681178355921690925560038290556040517fd23ce5645530506727523fe6d7939e72bb49102454460bc72f0f5baec60ac718908390a3565b610c5b81604051602401610c2c9190610cbc565b60408051601f198184030181529190526020810180516001600160e01b031663161765e160e11b179052610c5e565b50565b610c5b8160006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b6001600160a01b0381168114610c5b57600080fd5b600060208284031215610caa57600080fd5b8135610cb581610c83565b9392505050565b6001600160a01b0391909116815260200190565b600060208284031215610ce257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610d1057600080fd5b81356001600160401b03811115610d2957610d29610ce9565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d5757610d57610ce9565b604052818152838201602001851015610d6f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215610da257600080fd5b84356001600160401b03811115610db857600080fd5b610dc487828801610cff565b94505060208501356001600160401b03811115610de057600080fd5b610dec87828801610cff565b9350506040850135610dfd81610c83565b9396929550929360600135925050565b60008060008060808587031215610e2357600080fd5b8435610e2e81610c83565b93506020850135610e3e81610c83565b92506040850135610dfd81610c83565b600060208284031215610e6057600080fd5b8151610cb581610c83565b6020808252818101527f466163746f72793a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60005b83811015610ebb578181015183820152602001610ea3565b50506000910152565b60008351610ed6818460208801610ea0565b835190830190610eea818360208801610ea0565b01949350505050565b60008151808452610f0b816020860160208601610ea0565b601f01601f19169290920160200192915050565b606081526000610f326060830186610ef3565b8281036020840152610f448186610ef3565b91505060018060a01b0383166040830152949350505050565b60008251610f6f818460208701610ea0565b9190910192915050565b600060208284031215610f8b57600080fd5b5051919050565b600060208284031215610fa457600080fd5b81518015158114610cb557600080fd5b80820180821115610fd557634e487b7160e01b600052601160045260246000fd5b9291505056fe60806040526040516105fd3803806105fd833981016040819052610022916103df565b6040805160008082526020820190925282915061004182826000610049565b50505061047b565b6100528361010a565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a26000825111806100935750805b1561010557610103836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fd91906103df565b83610282565b505b505050565b610113816102ae565b6101725760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6101dc816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d791906103df565b6102ae565b6102415760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610169565b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5080546001600160a01b0319166001600160a01b0392909216919091179055565b60606102a783836040518060600160405280602781526020016105d6602791396102bd565b9392505050565b6001600160a01b03163b151590565b6060600080856001600160a01b0316856040516102da919061042c565b600060405180830381855af49150503d8060008114610315576040519150601f19603f3d011682016040523d82523d6000602084013e61031a565b606091505b50909250905061032c86838387610336565b9695505050505050565b606083156103a357825160000361039c57610350856102ae565b61039c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610169565b50816103ad565b6103ad83836103b5565b949350505050565b8151156103c55781518083602001fd5b8060405162461bcd60e51b81526004016101699190610448565b6000602082840312156103f157600080fd5b81516001600160a01b03811681146102a757600080fd5b60005b8381101561042357818101518382015260200161040b565b50506000910152565b6000825161043e818460208701610408565b9190910192915050565b6020815260008251806020840152610467816040850160208701610408565b601f01601f19169190910160400192915050565b61014c8061048a6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610029565b6100c2565b565b600061005c7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906100e6565b905090565b3660008037600080366000845af43d6000803e8080156100e1573d6000f35b3d6000fd5b6000602082840312156100f857600080fd5b81516001600160a01b038116811461010f57600080fd5b939250505056fea26469706673582212203e2ad3bf5a421ffb8fdb44190821663bd3b00d1057f74cc8ec2870c8aa4f61b364736f6c634300081b0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b230de6372519e80e83f649ca304b8f05e7bad5c6f1f1c1b7e9e712fe9513a4c64736f6c634300081b00330000000000000000000000009b4acce8a041c51c7b4249754fd24c8e18a97f75000000000000000000000000bc37dd30f97f730426f135da1fd67a3d190c747f