Forkchoice Ethereum Mainnet

Address Contract Verified

Address 0x4EA40dcee961675683e0a2e1721Bd49CB9bca913
Balance 0 ETH
Nonce 1
Code Size 10683 bytes
Indexed Transactions 0 (1 on-chain, 1.5% indexed)
External Etherscan · Sourcify

Contract Bytecode

10683 bytes
Copy Bytecode
0x608060405234801561000f575f80fd5b5060043610610156575f3560e01c806379cc6790116100c1578063a9059cbb1161007a578063a9059cbb146103b2578063a9359d92146103e2578063caa6fea414610400578063d505accf1461041e578063dd62ed3e1461043a578063f2f4eb261461046a57610156565b806379cc6790146102f25780637ecebe001461030e578063800096301461033e57806395d89b411461035a57806397db7edb14610378578063a457c2d71461038257610156565b8063313ce56711610113578063313ce5671461021e5780633644e5151461023c578063395093511461025a57806340c10f191461028a57806342966c68146102a657806370a08231146102c257610156565b806306fdde031461015a578063095ea7b3146101785780630fb7e602146101a857806318160ddd146101b257806323b872dd146101d057806330adf81f14610200575b5f80fd5b610162610488565b60405161016f9190611ac4565b60405180910390f35b610192600480360381019061018d9190611b75565b610518565b60405161019f9190611bcd565b60405180910390f35b6101b061053a565b005b6101ba610707565b6040516101c79190611bf5565b60405180910390f35b6101ea60048036038101906101e59190611c0e565b610710565b6040516101f79190611bcd565b60405180910390f35b61020861073e565b6040516102159190611c76565b60405180910390f35b610226610764565b6040516102339190611caa565b60405180910390f35b61024461076c565b6040516102519190611c76565b60405180910390f35b610274600480360381019061026f9190611b75565b610772565b6040516102819190611bcd565b60405180910390f35b6102a4600480360381019061029f9190611b75565b6107a8565b005b6102c060048036038101906102bb9190611cc3565b6108f3565b005b6102dc60048036038101906102d79190611cee565b610964565b6040516102e99190611bf5565b60405180910390f35b61030c60048036038101906103079190611b75565b6109a9565b005b61032860048036038101906103239190611cee565b610af4565b6040516103359190611bf5565b60405180910390f35b61035860048036038101906103539190611cee565b610b09565b005b610362610c67565b60405161036f9190611ac4565b60405180910390f35b610380610cf7565b005b61039c60048036038101906103979190611b75565b610ec2565b6040516103a99190611bcd565b60405180910390f35b6103cc60048036038101906103c79190611b75565b610f37565b6040516103d99190611bcd565b60405180910390f35b6103ea610f59565b6040516103f79190611bcd565b60405180910390f35b610408610f6c565b6040516104159190611bcd565b60405180910390f35b61043860048036038101906104339190611d6d565b610f82565b005b610454600480360381019061044f9190611e0a565b6111a0565b6040516104619190611bf5565b60405180910390f35b610472611222565b60405161047f9190611ea3565b60405180910390f35b60606003805461049790611ee9565b80601f01602080910402602001604051908101604052809291908181526020018280546104c390611ee9565b801561050e5780601f106104e55761010080835404028352916020019161050e565b820191905f5260205f20905b8154815290600101906020018083116104f157829003601f168201915b5050505050905090565b5f8061052261124a565b905061052f818585611251565b600191505092915050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b81526004016105949190611f28565b602060405180830381865afa1580156105af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d39190611f6b565b80610673575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c68ba21336040518263ffffffff1660e01b81526004016106339190611f28565b602060405180830381865afa15801561064e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106729190611f6b565b5b6106b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a990612006565b60405180910390fd5b6001600560146101000a81548160ff0219169083151502179055507ffb42c1145c310d3034571b76a56346cc592d8c24144acd44c3bb098ef0f9aed860016040516106fd9190611bcd565b60405180910390a1565b5f600254905090565b5f8061071a61124a565b9050610727858285611414565b61073285858561149f565b60019150509392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c95f1b81565b5f6012905090565b60065481565b5f8061077c61124a565b905061079d81858561078e85896111a0565b6107989190612051565b611251565b600191505092915050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aa271e1a336040518263ffffffff1660e01b81526004016108029190611f28565b602060405180830381865afa15801561081d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108419190611f6b565b610880576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610877906120ce565b60405180910390fd5b61088a828261170b565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fb1233017d63154bc561d57c16f7b6a55e2e1acd7fcac94045a9f35fb31a850ca836040516108e79190611bf5565b60405180910390a35050565b6108fc81611859565b3373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef836040516109599190611bf5565b60405180910390a350565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634334614a336040518263ffffffff1660e01b8152600401610a039190611f28565b602060405180830381865afa158015610a1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a429190611f6b565b610a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7890612136565b60405180910390fd5b610a8b828261186d565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef83604051610ae89190611bf5565b60405180910390a35050565b6007602052805f5260405f205f915090505481565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b8152600401610b639190611f28565b602060405180830381865afa158015610b7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba29190611f6b565b610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd8906121c4565b60405180910390fd5b8060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b60405160405180910390a250565b606060048054610c7690611ee9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca290611ee9565b8015610ced5780601f10610cc457610100808354040283529160200191610ced565b820191905f5260205f20905b815481529060010190602001808311610cd057829003601f168201915b5050505050905090565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e43581b8336040518263ffffffff1660e01b8152600401610d519190611f28565b602060405180830381865afa158015610d6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d909190611f6b565b80610e30575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630c68ba21336040518263ffffffff1660e01b8152600401610df09190611f28565b602060405180830381865afa158015610e0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2f9190611f6b565b5b610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690612006565b60405180910390fd5b5f600560146101000a81548160ff0219169083151502179055507ffb42c1145c310d3034571b76a56346cc592d8c24144acd44c3bb098ef0f9aed85f604051610eb89190611bcd565b60405180910390a1565b5f80610ecc61124a565b90505f610ed982866111a0565b905083811015610f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1590612252565b60405180910390fd5b610f2b8286868403611251565b60019250505092915050565b5f80610f4161124a565b9050610f4e81858561149f565b600191505092915050565b600560149054906101000a900460ff1681565b5f600560149054906101000a900460ff16905090565b42841015610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc906122ba565b60405180910390fd5b5f6006547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c95f1b89898960075f8e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919061103c906122d8565b919050558a6040516020016110569695949392919061231f565b6040516020818303038152906040528051906020012060405160200161107d9291906123f2565b6040516020818303038152906040528051906020012090505f6001828686866040515f81526020016040526040516110b89493929190612428565b6020604051602081039080840390855afa1580156110d8573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561114b57508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61118a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611181906124b5565b60405180910390fd5b611195898989611251565b505050505050505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b690612543565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361132d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611324906125d1565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516114079190611bf5565b60405180910390a3505050565b5f61141f84846111a0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611499578181101561148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290612639565b60405180910390fd5b6114988484848403611251565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361150d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611504906126c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361157b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157290612755565b60405180910390fd5b611586838383611a30565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611609576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611600906127e3565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116f29190611bf5565b60405180910390a3611705848484611a35565b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117709061284b565b60405180910390fd5b6117845f8383611a30565b8060025f8282546117959190612051565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118429190611bf5565b60405180910390a36118555f8383611a35565b5050565b61186a61186461124a565b8261186d565b50565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d2906128d9565b60405180910390fd5b6118e6825f83611a30565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196090612967565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a189190611bf5565b60405180910390a3611a2b835f84611a35565b505050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611a71578082015181840152602081019050611a56565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611a9682611a3a565b611aa08185611a44565b9350611ab0818560208601611a54565b611ab981611a7c565b840191505092915050565b5f6020820190508181035f830152611adc8184611a8c565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611b1182611ae8565b9050919050565b611b2181611b07565b8114611b2b575f80fd5b50565b5f81359050611b3c81611b18565b92915050565b5f819050919050565b611b5481611b42565b8114611b5e575f80fd5b50565b5f81359050611b6f81611b4b565b92915050565b5f8060408385031215611b8b57611b8a611ae4565b5b5f611b9885828601611b2e565b9250506020611ba985828601611b61565b9150509250929050565b5f8115159050919050565b611bc781611bb3565b82525050565b5f602082019050611be05f830184611bbe565b92915050565b611bef81611b42565b82525050565b5f602082019050611c085f830184611be6565b92915050565b5f805f60608486031215611c2557611c24611ae4565b5b5f611c3286828701611b2e565b9350506020611c4386828701611b2e565b9250506040611c5486828701611b61565b9150509250925092565b5f819050919050565b611c7081611c5e565b82525050565b5f602082019050611c895f830184611c67565b92915050565b5f60ff82169050919050565b611ca481611c8f565b82525050565b5f602082019050611cbd5f830184611c9b565b92915050565b5f60208284031215611cd857611cd7611ae4565b5b5f611ce584828501611b61565b91505092915050565b5f60208284031215611d0357611d02611ae4565b5b5f611d1084828501611b2e565b91505092915050565b611d2281611c8f565b8114611d2c575f80fd5b50565b5f81359050611d3d81611d19565b92915050565b611d4c81611c5e565b8114611d56575f80fd5b50565b5f81359050611d6781611d43565b92915050565b5f805f805f805f60e0888a031215611d8857611d87611ae4565b5b5f611d958a828b01611b2e565b9750506020611da68a828b01611b2e565b9650506040611db78a828b01611b61565b9550506060611dc88a828b01611b61565b9450506080611dd98a828b01611d2f565b93505060a0611dea8a828b01611d59565b92505060c0611dfb8a828b01611d59565b91505092959891949750929550565b5f8060408385031215611e2057611e1f611ae4565b5b5f611e2d85828601611b2e565b9250506020611e3e85828601611b2e565b9150509250929050565b5f819050919050565b5f611e6b611e66611e6184611ae8565b611e48565b611ae8565b9050919050565b5f611e7c82611e51565b9050919050565b5f611e8d82611e72565b9050919050565b611e9d81611e83565b82525050565b5f602082019050611eb65f830184611e94565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611f0057607f821691505b602082108103611f1357611f12611ebc565b5b50919050565b611f2281611b07565b82525050565b5f602082019050611f3b5f830184611f19565b92915050565b611f4a81611bb3565b8114611f54575f80fd5b50565b5f81519050611f6581611f41565b92915050565b5f60208284031215611f8057611f7f611ae4565b5b5f611f8d84828501611f57565b91505092915050565b7f436f72655265663a2043616c6c6572206973206e6f74206120677561726469615f8201527f6e206f7220676f7665726e6f7200000000000000000000000000000000000000602082015250565b5f611ff0602d83611a44565b9150611ffb82611f96565b604082019050919050565b5f6020820190508181035f83015261201d81611fe4565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61205b82611b42565b915061206683611b42565b925082820190508082111561207e5761207d612024565b5b92915050565b7f436f72655265663a2043616c6c6572206973206e6f742061206d696e746572005f82015250565b5f6120b8601f83611a44565b91506120c382612084565b602082019050919050565b5f6020820190508181035f8301526120e5816120ac565b9050919050565b7f436f72655265663a2043616c6c6572206973206e6f742061206275726e6572005f82015250565b5f612120601f83611a44565b915061212b826120ec565b602082019050919050565b5f6020820190508181035f83015261214d81612114565b9050919050565b7f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f5f8201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b5f6121ae602183611a44565b91506121b982612154565b604082019050919050565b5f6020820190508181035f8301526121db816121a2565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61223c602583611a44565b9150612247826121e2565b604082019050919050565b5f6020820190508181035f83015261226981612230565b9050919050565b7f41737365743a20455850495245440000000000000000000000000000000000005f82015250565b5f6122a4600e83611a44565b91506122af82612270565b602082019050919050565b5f6020820190508181035f8301526122d181612298565b9050919050565b5f6122e282611b42565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361231457612313612024565b5b600182019050919050565b5f60c0820190506123325f830189611c67565b61233f6020830188611f19565b61234c6040830187611f19565b6123596060830186611be6565b6123666080830185611be6565b61237360a0830184611be6565b979650505050505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f6123bc60028361237e565b91506123c782612388565b600282019050919050565b5f819050919050565b6123ec6123e782611c5e565b6123d2565b82525050565b5f6123fc826123b0565b915061240882856123db565b60208201915061241882846123db565b6020820191508190509392505050565b5f60808201905061243b5f830187611c67565b6124486020830186611c9b565b6124556040830185611c67565b6124626060830184611c67565b95945050505050565b7f41737365743a20494e56414c49445f5349474e415455524500000000000000005f82015250565b5f61249f601883611a44565b91506124aa8261246b565b602082019050919050565b5f6020820190508181035f8301526124cc81612493565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61252d602483611a44565b9150612538826124d3565b604082019050919050565b5f6020820190508181035f83015261255a81612521565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6125bb602283611a44565b91506125c682612561565b604082019050919050565b5f6020820190508181035f8301526125e8816125af565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612623601d83611a44565b915061262e826125ef565b602082019050919050565b5f6020820190508181035f83015261265081612617565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6126b1602583611a44565b91506126bc82612657565b604082019050919050565b5f6020820190508181035f8301526126de816126a5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61273f602383611a44565b915061274a826126e5565b604082019050919050565b5f6020820190508181035f83015261276c81612733565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6127cd602683611a44565b91506127d882612773565b604082019050919050565b5f6020820190508181035f8301526127fa816127c1565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f612835601f83611a44565b915061284082612801565b602082019050919050565b5f6020820190508181035f83015261286281612829565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f6128c3602183611a44565b91506128ce82612869565b604082019050919050565b5f6020820190508181035f8301526128f0816128b7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f612951602283611a44565b915061295c826128f7565b604082019050919050565b5f6020820190508181035f83015261297e81612945565b905091905056fea26469706673582212200f600e8fca99def9a3dac52d2ab2c7ed9860af3b648dc34a45876bdbb8b266f564736f6c63430008170033

Verified Source Code Full Match

Compiler: v0.8.23+commit.f704f362 EVM: shanghai Optimization: No
IAssetToken.sol 25 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import {IERC20} from "../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";

interface IAssetToken is IERC20 {
    event Minting(address indexed _to, address indexed _minter, uint256 _amount);
    event Burning(address indexed _to, address indexed _burner, uint256 _amount);

    function burn(uint256 amount) external;

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function burnFrom(address account, uint256 amount) external;

    function mint(address account, uint256 amount) external;
}
AssetToken.sol 93 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import {ERC20} from "openzeppelin-contracts/contracts/token/ERC20/ERC20.sol";
import {ERC20Burnable} from "openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import {CoreRef} from "./core/CoreRef.sol";
import {IAssetToken} from "./interfaces/IAssetToken.sol";

contract AssetToken is IAssetToken, ERC20Burnable, CoreRef {
    // solhint-disable-next-line var-name-mixedcase
    bytes32 public DOMAIN_SEPARATOR;
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    mapping(address => uint256) public nonces;

    constructor(string memory name_, string memory symbol_, address core_) ERC20(name_, symbol_) CoreRef(core_) {
        uint256 chainId;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            chainId := chainid()
        }
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name())),
                keccak256(bytes("1")),
                chainId,
                address(this)
            )
        );
    }

    /**
     * @notice mint new tokens
     * @param account the address of the destination account
     * @param amount the number of tokens to be minted
     */
    function mint(address account, uint256 amount) external override onlyMinter {
        _mint(account, amount);
        emit Minting(account, msg.sender, amount);
    }

    /**
     * @notice burn asset tokens from caller
     * @param amount the amount to burn
     */
    function burn(uint256 amount) public override(IAssetToken, ERC20Burnable) {
        super.burn(amount);
        emit Burning(msg.sender, msg.sender, amount);
    }

    /**
     * @notice burn asset tokens from specified account
     * @param account the account to burn from
     * @param amount the amount to burn
     */
    function burnFrom(address account, uint256 amount) public override(IAssetToken, ERC20Burnable) onlyBurner {
        _burn(account, amount);
        emit Burning(account, msg.sender, amount);
    }

    /**
     * @notice triggers an approval from owner to spends
     * @param owner the address to approve from
     * @param spender the address to be approved
     * @param value the number of tokens that are approved (2^256-1 means infinite)
     * @param deadline the time at which to expire the signature
     * @param v the recovery byte of the signature
     * @param r half of the ECDSA signature pair
     * @param s half of the ECDSA signature pair
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external override {
        require(deadline >= block.timestamp, "Asset: EXPIRED");
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, "Asset: INVALID_SIGNATURE");
        _approve(owner, spender, value);
    }
}
ERC20.sol 365 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}
ERC20Burnable.sol 39 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}
CoreRef.sol 70 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import {ICore} from "../core/ICore.sol";
import {ICoreRef} from "./ICoreRef.sol";

/// @title A Reference to Core
/// @notice defines some modifiers and utilities around interacting with Core
abstract contract CoreRef is ICoreRef {
    ICore private _core;

    // solhint-disable-next-line var-name-mixedcase
    bool public EMERGENCY;

    /// @notice CoreRef constructor
    /// @param coreAddress Few Core to reference
    constructor(address coreAddress) {
        _core = ICore(coreAddress);
    }

    modifier onlyMinter() {
        require(_core.isMinter(msg.sender), "CoreRef: Caller is not a minter");
        _;
    }

    modifier onlyBurner() {
        require(_core.isBurner(msg.sender), "CoreRef: Caller is not a burner");
        _;
    }

    modifier onlyGovernor() {
        require(_core.isGovernor(msg.sender), "CoreRef: Caller is not a governor");
        _;
    }

    modifier onlyGuardianOrGovernor() {
        require(
            _core.isGovernor(msg.sender) || _core.isGuardian(msg.sender),
            "CoreRef: Caller is not a guardian or governor"
        );
        _;
    }

    /// @notice set new Core reference address
    /// @param coreAddress the new core address
    function setCore(address coreAddress) external override onlyGovernor {
        _core = ICore(coreAddress);
        emit CoreUpdate(coreAddress);
    }

    function emergency() external view override returns (bool) {
        return EMERGENCY;
    }

    function startEmergency() external override onlyGuardianOrGovernor {
        EMERGENCY = true;
        emit EmergencyUpdate(true);
    }

    function stopEmergency() external override onlyGuardianOrGovernor {
        EMERGENCY = false;
        emit EmergencyUpdate(false);
    }

    /// @notice address of the Core contract referenced
    /// @return ICore implementation address
    function core() public view override returns (ICore) {
        return _core;
    }
}
IERC20.sol 78 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}
IERC20Metadata.sol 28 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}
Context.sol 28 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}
ICore.sol 9 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import {IPermissions} from "./IPermissions.sol";

/// @title Core Interface
interface ICore is IPermissions {
    function init() external;
}
ICoreRef.sol 22 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import {ICore} from "../core/ICore.sol";

/// @title CoreRef interface
interface ICoreRef {
    event CoreUpdate(address indexed _core);
    event EmergencyUpdate(bool _emergency);
    event MinterUpdate(address indexed _minter, bool _status);
    event BurnerUpdate(address indexed _burner, bool _status);

    function emergency() external view returns (bool);

    function startEmergency() external;

    function stopEmergency() external;

    function setCore(address coreAddress) external;

    function core() external view returns (ICore);
}
IPermissions.sol 39 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

/// @title Permissions interface
interface IPermissions {
    // ----------- Governor only state changing api -----------

    function createRole(bytes32 role, bytes32 adminRole) external;

    function grantGovernor(address governor) external;

    function grantGuardian(address guardian) external;

    function grantMinter(address minter) external;

    function grantBurner(address burner) external;

    function revokeGovernor(address governor) external;

    function revokeGuardian(address guardian) external;

    function revokeMinter(address minter) external;

    function revokeBurner(address burner) external;

    // ----------- Revoker only state changing api -----------

    function revokeOverride(bytes32 role, address account) external;

    // ----------- Getters -----------

    function isGovernor(address _address) external view returns (bool);

    function isGuardian(address _address) external view returns (bool);

    function isMinter(address _address) external view returns (bool);

    function isBurner(address _address) external view returns (bool);
}

Read Contract

DOMAIN_SEPARATOR 0x3644e515 → bytes32
EMERGENCY 0xa9359d92 → bool
PERMIT_TYPEHASH 0x30adf81f → bytes32
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
core 0xf2f4eb26 → address
decimals 0x313ce567 → uint8
emergency 0xcaa6fea4 → bool
name 0x06fdde03 → string
nonces 0x7ecebe00 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256

Write Contract 12 functions

These functions modify contract state and require a wallet transaction to execute.

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
burn 0x42966c68
uint256 amount
burnFrom 0x79cc6790
address account
uint256 amount
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
mint 0x40c10f19
address account
uint256 amount
permit 0xd505accf
address owner
address spender
uint256 value
uint256 deadline
uint8 v
bytes32 r
bytes32 s
setCore 0x80009630
address coreAddress
startEmergency 0x0fb7e602
No parameters
stopEmergency 0x97db7edb
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool

Recent Transactions

This address has 1 on-chain transactions, but only 1.5% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →