0 txs
0 calls
constructor
constructor(address _config, address _singleton)
functions
calcTokenAddress
viewfunction calcTokenAddress(string name, string symbol, address launchConfig, 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)
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
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
0x60a060405234801561001057600080fd5b5060405161159238038061159283398101604081905261002f91610076565b6001600160a01b03918216608052600080546001600160a01b0319169190921617905562093a806002556100b0565b6001600160a01b038116811461007357600080fd5b50565b6000806040838503121561008957600080fd5b82516100948161005e565b60208401519092506100a58161005e565b809150509250929050565b6080516114ab6100e76000396000818161012a015281816102d2015281816107110152818161079901526108f601526114ab6000f3fe608060405234801561001057600080fd5b50600436106100a45760003560e01c8063263096a1146100a9578063490aaa98146100e15780635c60da1b146100f85780636e2df4b61461011257806379502c55146101255780638b16729f1461014c578063909a77951461015f578063c2e716c814610172578063c6770db614610185578063cb5d25da1461019a578063ce86cfb7146101a3578063d55ec697146101b6575b600080fd5b6100cc6100b7366004610a99565b60046020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100ea60035481565b6040519081526020016100d8565b6000546001600160a01b03165b6040516100d89190610abd565b600154610105906001600160a01b031681565b6101057f000000000000000000000000000000000000000000000000000000000000000081565b600054610105906001600160a01b031681565b61010561016d366004610b74565b6101be565b610105610180366004610b74565b6102c4565b610198610193366004610bf5565b610631565b005b6100ea60025481565b6101986101b1366004610a99565b6106fa565b6101986108ea565b6000806040518061070001604052806106d78152602001610d9f6106d79139905060008686866040516024016101f693929190610c86565b60408051601f19818403018152918152602080830180516001600160e01b03166303bf912560e11b17905290519192506000918491610239913091869101610cc4565b60408051601f19818403018152908290526102579291602001610cf0565b60408051808303601f1901815282825280516020918201206001600160f81b0319828501523060601b6001600160601b0319166021850152603584019890985260558084019890985281518084039098018852607590920190528551950194909420979650505050505050565b6000336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663778ebe8f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561032e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103529190610d1f565b6001600160a01b0316146103b95760405162461bcd60e51b8152602060048201526024808201527f466163746f72793a2063616c6c6572206973206e6f7420746865206c61756e636044820152631a1c185960e21b60648201526084015b60405180910390fd5b60006040518061070001604052806106d78152602001610d9f6106d79139905060008686866040516024016103f093929190610c86565b60408051601f198184030181529190526020810180516001600160e01b03166303bf912560e11b1790529050600061042a888888886101be565b6001600160a01b0381166000908152600460209081526040808320805460ff191660011790555192935090918591610466913091879101610cc4565b60408051601f19818403018152908290526104849291602001610cf0565b6040516020818303038152906040529050858151826020016000f59450816001600160a01b0316856001600160a01b0316146104f85760405162461bcd60e51b815260206004820152601360248201527210dc99585d194c8818d85b1b0819985a5b1959606a1b60448201526064016103b0565b6040516370a0823160e01b815285906001600160a01b0382169063a9059cbb90339083906370a0823190610530903090600401610abd565b602060405180830381865afa15801561054d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105719190610d3c565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e09190610d55565b50806001600160a01b03167f6b6c555e8ae1c4f0ac0f0faf20e8f1406c3b872759d31fdf15e849b1c02ce8718860405161061c91815260200190565b60405180910390a25050505050949350505050565b3360009081526004602052604090205460ff166106a25760405162461bcd60e51b815260206004820152602960248201527f466163746f72793a2063616c6c6572206973206e6f742074686520746f6b656e6044820152680819195c1b1bde595960ba1b60648201526084016103b0565b604080516001600160a01b03868116825285811660208301528416818301526060810183905290517fae33cb06d7303f889d953bb09540983050163c1c4c98b330db432a911cfb63fd9181900360800190a150505050565b604051631f8e5f9160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631f8e5f9190610746903390600401610abd565b602060405180830381865afa158015610763573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107879190610d55565b806108245750336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190610d1f565b6001600160a01b0316145b61087c5760405162461bcd60e51b815260206004820152602360248201527f466163746f72793a2063616c6c6572206973206e6f7420746865206f706572616044820152623a37b960e91b60648201526084016103b0565b600180546001600160a01b0319166001600160a01b0383161790556002546108a49042610d77565b60038190556040519081526001600160a01b038216907f39ef188642c5c7e4bd3f79e6e0ce37c9afa034ba7153e703be9c7aaceaf80d029060200160405180910390a250565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610952573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109769190610d1f565b6001600160a01b0316146109cc5760405162461bcd60e51b815260206004820181905260248201527f466163746f72793a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103b0565b6001546001600160a01b0316158015906109e857506003544210155b610a2b5760405162461bcd60e51b8152602060048201526014602482015273466163746f72793a206e6f74207570677261646560601b60448201526064016103b0565b60018054600080546001600160a01b0383166001600160a01b031991821681178355921690925560038290556040517fd23ce5645530506727523fe6d7939e72bb49102454460bc72f0f5baec60ac718908390a3565b6001600160a01b0381168114610a9657600080fd5b50565b600060208284031215610aab57600080fd5b8135610ab681610a81565b9392505050565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610af857600080fd5b81356001600160401b03811115610b1157610b11610ad1565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610b3f57610b3f610ad1565b604052818152838201602001851015610b5757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215610b8a57600080fd5b84356001600160401b03811115610ba057600080fd5b610bac87828801610ae7565b94505060208501356001600160401b03811115610bc857600080fd5b610bd487828801610ae7565b9350506040850135610be581610a81565b9396929550929360600135925050565b60008060008060808587031215610c0b57600080fd5b8435610c1681610a81565b93506020850135610c2681610a81565b92506040850135610be581610a81565b60005b83811015610c51578181015183820152602001610c39565b50506000910152565b60008151808452610c72816020860160208601610c36565b601f01601f19169290920160200192915050565b606081526000610c996060830186610c5a565b8281036020840152610cab8186610c5a565b91505060018060a01b0383166040830152949350505050565b6001600160a01b0383168152604060208201819052600090610ce890830184610c5a565b949350505050565b60008351610d02818460208801610c36565b835190830190610d16818360208801610c36565b01949350505050565b600060208284031215610d3157600080fd5b8151610ab681610a81565b600060208284031215610d4e57600080fd5b5051919050565b600060208284031215610d6757600080fd5b81518015158114610ab657600080fd5b80820180821115610d9857634e487b7160e01b600052601160045260246000fd5b9291505056fe60806040526040516106d73803806106d783398101604081905261002291610425565b818161003082826000610039565b50505050610555565b610042836100fa565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a26000825111806100835750805b156100f5576100f3836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ed91906104eb565b83610272565b505b505050565b6101038161029e565b6101625760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6101cc816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c791906104eb565b61029e565b6102315760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610159565b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5080546001600160a01b0319166001600160a01b0392909216919091179055565b606061029783836040518060600160405280602781526020016106b0602791396102ad565b9392505050565b6001600160a01b03163b151590565b6060600080856001600160a01b0316856040516102ca9190610506565b600060405180830381855af49150503d8060008114610305576040519150601f19603f3d011682016040523d82523d6000602084013e61030a565b606091505b50909250905061031c86838387610326565b9695505050505050565b6060831561039357825160000361038c576103408561029e565b61038c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610159565b508161039d565b61039d83836103a5565b949350505050565b8151156103b55781518083602001fd5b8060405162461bcd60e51b81526004016101599190610522565b80516001600160a01b03811681146103e657600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561041c578181015183820152602001610404565b50506000910152565b6000806040838503121561043857600080fd5b610441836103cf565b60208401519092506001600160401b0381111561045d57600080fd5b8301601f8101851361046e57600080fd5b80516001600160401b03811115610487576104876103eb565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104b5576104b56103eb565b6040528181528282016020018710156104cd57600080fd5b6104de826020830160208601610401565b8093505050509250929050565b6000602082840312156104fd57600080fd5b610297826103cf565b60008251610518818460208701610401565b9190910192915050565b6020815260008251806020840152610541816040850160208701610401565b601f01601f19169190910160400192915050565b61014c806105646000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610029565b6100c2565b565b600061005c7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906100e6565b905090565b3660008037600080366000845af43d6000803e8080156100e1573d6000f35b3d6000fd5b6000602082840312156100f857600080fd5b81516001600160a01b038116811461010f57600080fd5b939250505056fea2646970667358221220e45686b6b43fe28cc1d40fae411b3c25c34cd74be06d65a9eb9f03500491e7c364736f6c634300081b0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220590a89dddf5c2dba413ee17f9ad836ec97185b331c3740582fdbb8806b20ca8d64736f6c634300081b0033000000000000000000000000388b5e4a211439034a09705718acae7ef1920968000000000000000000000000ddfd8b54c71cc1ae0fcd5fce6dee05e213f323a5