Address Contract Partially Verified
Address
0xdFc61Bae9AC44758BF3E08fD248F2F1561236B51
Balance
0 ETH
Nonce
1
Code Size
11826 bytes
Creator
0xe8083474...fe76 at tx 0x6a78dd6a...462a06
Indexed Transactions
0
Contract Bytecode
11826 bytes
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806378e8114d1161008c578063961753b811610066578063961753b814610218578063984d6e7a14610248578063a10d096014610266578063ffa1ad7414610296576100cf565b806378e8114d146101ac5780638cb7d113146101dc5780638da5cb5b146101fa576100cf565b806310a53b9a146100d45780631227922c146100f257806321d0034b1461011057806344df8e701461012e5780636109069a1461014c5780637168aedf1461017c575b600080fd5b6100dc6102b4565b6040516100e99190611919565b60405180910390f35b6100fa6102d8565b60405161010791906119f2565b60405180910390f35b610118610366565b60405161012591906119f2565b60405180910390f35b6101366103f4565b6040516101439190611a2f565b60405180910390f35b61016660048036038101906101619190611a80565b6104f3565b6040516101739190611a2f565b60405180910390f35b61019660048036038101906101919190611a80565b610549565b6040516101a39190611a2f565b60405180910390f35b6101c660048036038101906101c19190611a80565b61059f565b6040516101d39190611ac6565b60405180910390f35b6101e46105b7565b6040516101f19190611a2f565b60405180910390f35b6102026105cd565b60405161020f9190611919565b60405180910390f35b610232600480360381019061022d9190611b72565b6105f1565b60405161023f9190611a2f565b60405180910390f35b610250610c7e565b60405161025d9190611ac6565b60405180910390f35b610280600480360381019061027b9190611c7c565b610c83565b60405161028d9190611a2f565b60405180910390f35b61029e610e7a565b6040516102ab9190611d0c565b60405180910390f35b7f000000000000000000000000b974fc41b3853ebfa55d9f278bbaf89e6ed2ce3381565b6060600580548060200260200160405190810160405280929190818152602001828054801561035c57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610312575b5050505050905090565b606060028054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116103a0575b5050505050905090565b60003373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000e8083474b35a9e06fe30fa42669d2b95d2defe7673ffffffffffffffffffffffffffffffffffffffff1614610484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047b90611d84565b60405180910390fd5b60008054906101000a900460ff16156104d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c990611df0565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055506001905090565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60036020528060005260406000206000915090505481565b60008060009054906101000a900460ff16905090565b7f000000000000000000000000e8083474b35a9e06fe30fa42669d2b95d2defe7681565b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661067f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067690611e5c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e590611ec8565b60405180910390fd5b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661077a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077190611f34565b60405180910390fd5b600085859050116107c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b790611fa0565b60405180910390fd5b60008585905067ffffffffffffffff8111156107df576107de611fc0565b5b60405190808252806020026020018201604052801561080d5781602001602082028036833780820191505090505b50905060007f000000000000000000000000b974fc41b3853ebfa55d9f278bbaf89e6ed2ce33905060008173ffffffffffffffffffffffffffffffffffffffff1663f481e8636040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190612004565b905060005b88889050811015610c0057368989838181106108cc576108cb612031565b5b9050604002019050600081602001351161091b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610912906120d2565b60405180910390fd5b60008160000160208101906109309190611a80565b90506000808360200135905060008460000160208101906109519190611a80565b90508773ffffffffffffffffffffffffffffffffffffffff166355a0c9718660000160208101906109829190611a80565b6040518263ffffffff1660e01b815260040161099e9190611919565b602060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109df9190612107565b15610a6057610a008560000160208101906109fa9190611a80565b85610e7f565b92508285602001351015610a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4090612180565b60405180910390fd5b828560200135610a5991906121cf565b9150610b3b565b8773ffffffffffffffffffffffffffffffffffffffff16633c0ff5cf8c6040518263ffffffff1660e01b8152600401610a999190611919565b602060405180830381865afa158015610ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ada9190612107565b610b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b109061224f565b60405180910390fd5b610b35856000016020810190610b2f9190611a80565b8c610e7f565b92508a90505b6000821115610b6357610b628f866000016020810190610b5b9190611a80565b8e85610f77565b5b82898781518110610b7757610b76612031565b5b6020026020010181815250506000831115610bf057600060036000876000016020810190610ba59190611a80565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610bef8f828986610f77565b5b85600101955050505050506108ad565b508573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa7caad6d7d431ef4211dc76d495956dcedd4a2a76108bd133df06a03f28a292e8a8a87868b604051610c66959493929190612442565b60405180910390a36001935050505095945050505050565b600181565b600084600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90612509565b60405180910390fd5b60008054906101000a900460ff1615610d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3a90612575565b60405180910390fd5b60008511610d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7d906125e1565b60405180910390fd5b6000610d938730886112ee565b90506001600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610de59190612601565b925050819055508673ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fefbf9e71b8b9415ed6723cea57670470f2fa0e9cc6c4aebe4c25d90e4c688277848989604051610e6493929190612682565b60405180910390a4600192505050949350505050565b600281565b600080600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008103610ed55780915050610f71565b60008373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4691906126c9565b905080600a610f559190612829565b600283610f629190612874565b610f6c9190612874565b925050505b92915050565b8060008111610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290612902565b60405180910390fd5b83600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290612509565b60405180910390fd5b83600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361109b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109290612994565b60405180910390fd5b600086905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110db9190611919565b602060405180830381865afa1580156110f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111c91906126c9565b905085811015611161576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115890612a00565b60405180910390fd5b88156111975761119287878473ffffffffffffffffffffffffffffffffffffffff166115359092919063ffffffff16565b6112e3565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88886040518363ffffffff1660e01b81526004016111d2929190612a20565b6020604051808303816000875af11580156111f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112159190612107565b5060008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112519190611919565b602060405180830381865afa15801561126e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129291906126c9565b90508681836112a191906121cf565b146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d890612abb565b60405180910390fd5b505b505050505050505050565b600083600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790612509565b60405180910390fd5b82600081116113a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b90612902565b60405180910390fd5b600086905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b81526004016113e49190611919565b602060405180830381865afa158015611401573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142591906126c9565b90506114543388888573ffffffffffffffffffffffffffffffffffffffff166115bb909392919063ffffffff16565b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b815260040161148f9190611919565b602060405180830381865afa1580156114ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d091906126c9565b9050600082826114e091906121cf565b905087811115611525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151c90612b27565b60405180910390fd5b8096505050505050509392505050565b6115b68363a9059cbb60e01b8484604051602401611554929190612a20565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611644565b505050565b61163e846323b872dd60e01b8585856040516024016115dc93929190612b47565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611644565b50505050565b60006116a6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661170b9092919063ffffffff16565b905060008151111561170657808060200190518101906116c69190612107565b611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90612bf0565b60405180910390fd5b5b505050565b606061171a8484600085611723565b90509392505050565b606082471015611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90612c82565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117919190612d13565b60006040518083038185875af1925050503d80600081146117ce576040519150601f19603f3d011682016040523d82523d6000602084013e6117d3565b606091505b50915091506117e4878383876117f0565b92505050949350505050565b6060831561185257600083510361184a5761180a85611865565b611849576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184090612d76565b60405180910390fd5b5b82905061185d565b61185c8383611888565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561189b5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf9190612dda565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611903826118d8565b9050919050565b611913816118f8565b82525050565b600060208201905061192e600083018461190a565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611969816118f8565b82525050565b600061197b8383611960565b60208301905092915050565b6000602082019050919050565b600061199f82611934565b6119a9818561193f565b93506119b483611950565b8060005b838110156119e55781516119cc888261196f565b97506119d783611987565b9250506001810190506119b8565b5085935050505092915050565b60006020820190508181036000830152611a0c8184611994565b905092915050565b60008115159050919050565b611a2981611a14565b82525050565b6000602082019050611a446000830184611a20565b92915050565b600080fd5b600080fd5b611a5d816118f8565b8114611a6857600080fd5b50565b600081359050611a7a81611a54565b92915050565b600060208284031215611a9657611a95611a4a565b5b6000611aa484828501611a6b565b91505092915050565b6000819050919050565b611ac081611aad565b82525050565b6000602082019050611adb6000830184611ab7565b92915050565b611aea81611a14565b8114611af557600080fd5b50565b600081359050611b0781611ae1565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611b3257611b31611b0d565b5b8235905067ffffffffffffffff811115611b4f57611b4e611b12565b5b602083019150836040820283011115611b6b57611b6a611b17565b5b9250929050565b600080600080600060808688031215611b8e57611b8d611a4a565b5b6000611b9c88828901611af8565b955050602086013567ffffffffffffffff811115611bbd57611bbc611a4f565b5b611bc988828901611b1c565b94509450506040611bdc88828901611a6b565b9250506060611bed88828901611a6b565b9150509295509295909350565b611c0381611aad565b8114611c0e57600080fd5b50565b600081359050611c2081611bfa565b92915050565b60008083601f840112611c3c57611c3b611b0d565b5b8235905067ffffffffffffffff811115611c5957611c58611b12565b5b602083019150836001820283011115611c7557611c74611b17565b5b9250929050565b60008060008060608587031215611c9657611c95611a4a565b5b6000611ca487828801611a6b565b9450506020611cb587828801611c11565b935050604085013567ffffffffffffffff811115611cd657611cd5611a4f565b5b611ce287828801611c26565b925092505092959194509250565b600060ff82169050919050565b611d0681611cf0565b82525050565b6000602082019050611d216000830184611cfd565b92915050565b600082825260208201905092915050565b7f4e6f7420746865206f776e657200000000000000000000000000000000000000600082015250565b6000611d6e600d83611d27565b9150611d7982611d38565b602082019050919050565b60006020820190508181036000830152611d9d81611d61565b9050919050565b7f436f6e747261637420616c7265616479206275726e6564000000000000000000600082015250565b6000611dda601783611d27565b9150611de582611da4565b602082019050919050565b60006020820190508181036000830152611e0981611dcd565b9050919050565b7f4e6f74207468652066696e616e63650000000000000000000000000000000000600082015250565b6000611e46600f83611d27565b9150611e5182611e10565b602082019050919050565b60006020820190508181036000830152611e7581611e39565b9050919050565b7f66656520746f6b656e2061646472657373206973207a65726f00000000000000600082015250565b6000611eb2601983611d27565b9150611ebd82611e7c565b602082019050919050565b60006020820190508181036000830152611ee181611ea5565b9050919050565b7f77697468647261772061646472657373206e6f7420616c6c6f77656400000000600082015250565b6000611f1e601c83611d27565b9150611f2982611ee8565b602082019050919050565b60006020820190508181036000830152611f4d81611f11565b9050919050565b7f7769746864726177496e666f206973206572726f720000000000000000000000600082015250565b6000611f8a601583611d27565b9150611f9582611f54565b602082019050919050565b60006020820190508181036000830152611fb981611f7d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600081519050611ffe81611a54565b92915050565b60006020828403121561201a57612019611a4a565b5b600061202884828501611fef565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f776974686472617720616d6f756e74206d75737420626520677265617465722060008201527f7468616e20300000000000000000000000000000000000000000000000000000602082015250565b60006120bc602683611d27565b91506120c782612060565b604082019050919050565b600060208201905081810360008301526120eb816120af565b9050919050565b60008151905061210181611ae1565b92915050565b60006020828403121561211d5761211c611a4a565b5b600061212b848285016120f2565b91505092915050565b7f776974686472617720616d6f756e74206973206572726f720000000000000000600082015250565b600061216a601883611d27565b915061217582612134565b602082019050919050565b600060208201905081810360008301526121998161215d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006121da82611aad565b91506121e583611aad565b92508282039050818111156121fd576121fc6121a0565b5b92915050565b7f666565546f6b656e41646472657373206973206e6f7420537570706f72740000600082015250565b6000612239601e83611d27565b915061224482612203565b602082019050919050565b600060208201905081810360008301526122688161222c565b9050919050565b600082825260208201905092915050565b6000819050919050565b60006122996020840184611a6b565b905092915050565b60006122b06020840184611c11565b905092915050565b6122c181611aad565b82525050565b604082016122d8600083018361228a565b6122e56000850182611960565b506122f360208301836122a1565b61230060208501826122b8565b50505050565b600061231283836122c7565b60408301905092915050565b600082905092915050565b6000604082019050919050565b6000612342838561226f565b935061234d82612280565b8060005b8581101561238657612363828461231e565b61236d8882612306565b975061237883612329565b925050600181019050612351565b5085925050509392505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006123cb83836122b8565b60208301905092915050565b6000602082019050919050565b60006123ef82612393565b6123f9818561239e565b9350612404836123af565b8060005b8381101561243557815161241c88826123bf565b9750612427836123d7565b925050600181019050612408565b5085935050505092915050565b6000608082019050818103600083015261245d818789612336565b9050818103602083015261247181866123e4565b9050612480604083018561190a565b61248d606083018461190a565b9695505050505050565b7f7472616e7366657220746f6b656e20697320746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006124f3602283611d27565b91506124fe82612497565b604082019050919050565b60006020820190508181036000830152612522816124e6565b9050919050565b7f436f6e7472616374206973206275726e00000000000000000000000000000000600082015250565b600061255f601083611d27565b915061256a82612529565b602082019050919050565b6000602082019050818103600083015261258e81612552565b9050919050565b7f616d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b60006125cb601d83611d27565b91506125d682612595565b602082019050919050565b600060208201905081810360008301526125fa816125be565b9050919050565b600061260c82611aad565b915061261783611aad565b925082820190508082111561262f5761262e6121a0565b5b92915050565b82818337600083830152505050565b6000601f19601f8301169050919050565b60006126618385611d27565b935061266e838584612635565b61267783612644565b840190509392505050565b60006040820190506126976000830186611ab7565b81810360208301526126aa818486612655565b9050949350505050565b6000815190506126c381611bfa565b92915050565b6000602082840312156126df576126de611a4a565b5b60006126ed848285016126b4565b91505092915050565b60008160011c9050919050565b6000808291508390505b600185111561274d57808604811115612729576127286121a0565b5b60018516156127385780820291505b8081029050612746856126f6565b945061270d565b94509492505050565b6000826127665760019050612822565b816127745760009050612822565b816001811461278a5760028114612794576127c3565b6001915050612822565b60ff8411156127a6576127a56121a0565b5b8360020a9150848211156127bd576127bc6121a0565b5b50612822565b5060208310610133831016604e8410600b84101617156127f85782820a9050838111156127f3576127f26121a0565b5b612822565b6128058484846001612703565b9250905081840481111561281c5761281b6121a0565b5b81810290505b9392505050565b600061283482611aad565b915061283f83611aad565b925061286c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612756565b905092915050565b600061287f82611aad565b915061288a83611aad565b925082820261289881611aad565b915082820484148315176128af576128ae6121a0565b5b5092915050565b7f616d6f756e74206d7573742062652067726561746572207468616e207a65726f600082015250565b60006128ec602083611d27565b91506128f7826128b6565b602082019050919050565b6000602082019050818103600083015261291b816128df565b9050919050565b7f7769746864726177206164647265737320697320746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061297e602483611d27565b915061298982612922565b604082019050919050565b600060208201905081810360008301526129ad81612971565b9050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006129ea601483611d27565b91506129f5826129b4565b602082019050919050565b60006020820190508181036000830152612a19816129dd565b9050919050565b6000604082019050612a35600083018561190a565b612a426020830184611ab7565b9392505050565b7f42616c616e636520646964206e6f74206465637265617365206173206578706560008201527f6374656400000000000000000000000000000000000000000000000000000000602082015250565b6000612aa5602483611d27565b9150612ab082612a49565b604082019050919050565b60006020820190508181036000830152612ad481612a98565b9050919050565b7f46696e616c416d6f756e74206973206572726f72000000000000000000000000600082015250565b6000612b11601483611d27565b9150612b1c82612adb565b602082019050919050565b60006020820190508181036000830152612b4081612b04565b9050919050565b6000606082019050612b5c600083018661190a565b612b69602083018561190a565b612b766040830184611ab7565b949350505050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612bda602a83611d27565b9150612be582612b7e565b604082019050919050565b60006020820190508181036000830152612c0981612bcd565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612c6c602683611d27565b9150612c7782612c10565b604082019050919050565b60006020820190508181036000830152612c9b81612c5f565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612cd6578082015181840152602081019050612cbb565b60008484015250505050565b6000612ced82612ca2565b612cf78185612cad565b9350612d07818560208601612cb8565b80840191505092915050565b6000612d1f8284612ce2565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612d60601d83611d27565b9150612d6b82612d2a565b602082019050919050565b60006020820190508181036000830152612d8f81612d53565b9050919050565b600081519050919050565b6000612dac82612d96565b612db68185611d27565b9350612dc6818560208601612cb8565b612dcf81612644565b840191505092915050565b60006020820190508181036000830152612df48184612da1565b90509291505056fea2646970667358221220ee49d3b41bdb70f0b33e8562b84ea9e98473bbf6669d7ac8e477dd852a9f397c64736f6c63430008110033
Verified Source Code Partial Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: No
BlockATMCustomer.sol 808 lines
// File: smartContract/5/0/0/BlockUtils.sol
pragma solidity >=0.8.0 <=0.8.17;
contract BlockUtils {
modifier checkAmount(uint256 amount) {
require(amount > 0, "amount must be greater than zero");
_;
}
// "transfer token is the zero address"
modifier checkTokenAddress(address tokenAddress){
require(tokenAddress != address(0), "transfer token is the zero address");
_;
}
modifier checkWithdrawAddress(address withdrawAddress){
require(withdrawAddress != address(0), "withdraw address is the zero address");
_;
}
modifier checkAddress(address newAddress){
require(newAddress != address(0), "address is the zero address");
_;
}
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v4.6.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);
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/token/ERC20/extensions/draft-IERC20Permit.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/utils/Address.sol
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/token/ERC20/utils/SafeERC20.sol
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: smartContract/5/0/0/BlockCommon.sol
pragma solidity >=0.8.0 <=0.8.17;
contract BlockCommon is BlockUtils {
using SafeERC20 for IERC20;
function transferFrom(address tokenAddress,address from,address to,uint256 amount) internal checkTokenAddress(tokenAddress) returns(uint256) {
if (amount > 0){
IERC20 erc20 = IERC20(tokenAddress);
erc20.safeTransferFrom(from, to, amount);
}
return amount;
}
function transferFrom(address tokenAddress,address from,address to) internal checkTokenAddress(tokenAddress) returns(uint256) {
IERC20 erc20 = IERC20(tokenAddress);
uint256 beforeAmount = erc20.balanceOf(from);
return transferFrom(tokenAddress,from,to,beforeAmount);
}
function transferCommon(address tokenAddress,address to,uint256 amount) internal checkTokenAddress(tokenAddress) checkAmount(amount) returns(uint256) {
IERC20 erc20 = IERC20(tokenAddress);
uint256 beforeAmount = erc20.balanceOf(to);
erc20.safeTransferFrom(msg.sender, to, amount);
uint256 afterAmount = erc20.balanceOf(to);
uint256 finalAmount = afterAmount - beforeAmount;
require(finalAmount <= amount, "FinalAmount is error");
return finalAmount;
}
function withdrawCommon(bool flag,address tokenAddress,address withdrawAddress,uint256 amount) internal checkAmount(amount) checkTokenAddress(tokenAddress) checkWithdrawAddress(withdrawAddress) {
IERC20 erc20 = IERC20(tokenAddress);
uint256 balance = erc20.balanceOf(address(this));
require(balance >= amount, "Insufficient balance");
if(flag){
erc20.safeTransfer(withdrawAddress, amount);
} else {
erc20.transfer(withdrawAddress, amount);
uint256 afterBalance = erc20.balanceOf(address(this));
require(balance - afterBalance == amount, "Balance did not decrease as expected");
}
}
}
// File: smartContract/5/0/0/IBlockFee.sol
pragma solidity >=0.8.0 <=0.8.17;
interface IBlockFee {
// Check if the token address is supported as a fee token
function isSupportedFeeToken(address tokenAddress) external view returns (bool);
// Check if the token is a stable coin
function isStableCoin(address tokenAddress) external view returns (bool);
function subFee(bool safe,address tokenAddress,address from,uint256 amount,uint256 id,uint256 subType) external returns (bool);
function subFee(bool safe,address from,uint256 id,uint256 subType) external returns (bool);
function feeReceiverAddress() external returns(address);
}
// File: smartContract/5/0/0/BaseCustomer.sol
pragma solidity >=0.8.0 <=0.8.17;
contract BaseCustomer {
uint8 public constant VERSION = 2;
address immutable public feeGateway;
address immutable public owner;
bool internal burnFlag = false;
mapping(address => bool) internal financeMap;
address[] internal financeList;
constructor(address newFeeGateway){
require(newFeeGateway != address(0), "Zero address");
feeGateway = newFeeGateway;
owner = msg.sender;
}
modifier onlyFinance() {
require(financeMap[msg.sender], "Not the finance");
_;
}
modifier onlyOwner() {
require(owner == msg.sender, "Not the owner");
_;
}
function processList(address[] memory list, mapping(address => bool) storage map) internal {
uint256 length = list.length;
for (uint256 i = 0; i < length; ) {
address addr = list[i];
require(addr != address(0), "Zero address");
map[addr] = true;
unchecked { ++i; }
}
}
function burn() onlyOwner public returns (bool){
require(!burnFlag,"Contract already burned");
burnFlag = true;
return true;
}
function getOwnerAddressFlag(address ownerAddress) public view returns(bool){
return financeMap[ownerAddress];
}
function getOwnerAddressList() public view returns(address[] memory){
return financeList;
}
function getBurnFlag() public view returns (bool) {
return burnFlag;
}
}
// File: smartContract/5/0/0/BlockATMCustomer.sol
pragma solidity >=0.8.0 <=0.8.17;
interface ICustomizeERC20 is IERC20 {
function decimals() external view returns (uint256);
}
contract BlockATMCustomer is BlockCommon,BaseCustomer{
uint256 constant public SUB_TYPE = 1;
// token address ==> num
mapping(address => uint256) public transferMap;
mapping(address => bool) internal withdrawMap;
address[] private withdrawList;
struct Withdraw{
address tokenAddress;
uint256 amount;
}
constructor(bool safe,uint256 id,address[] memory newWithdrawList,address[] memory newFinanceList,address newFeeGateway)
BaseCustomer(newFeeGateway) {
require(newWithdrawList.length > 0, "withdraw address is empty");
processList(newWithdrawList, withdrawMap);
withdrawList = newWithdrawList;
require(newFinanceList.length > 0, "finance address is empty");
processList(newFinanceList, financeMap);
financeList = newFinanceList;
IBlockFee(feeGateway).subFee(safe,msg.sender,id,SUB_TYPE);
}
event TransferToken(address indexed from, address indexed to, address indexed token, uint256 amount,string orderId);
event WithdrawToken(address indexed from, address indexed to, Withdraw[] withdrawInfo,uint256[] feeArray,address feeAddress,address feeTokenAddress);
// Deposit tokens into the contract
function depositToken(address tokenAddress,uint256 amount,string calldata orderId) public checkTokenAddress(tokenAddress) returns (bool) {
require(!burnFlag,"Contract is burn");
require(amount > 0, "amount must be greater than 0");
uint256 finalAmount = super.transferCommon(tokenAddress,address(this),amount);
transferMap[tokenAddress] += 1;
emit TransferToken(msg.sender, address(this), tokenAddress, finalAmount,orderId);
return true;
}
function calcFee(address tokenAddress,ICustomizeERC20 erc20) internal view returns (uint256 feeAmount) {
uint256 count = transferMap[tokenAddress];
if (count == 0){
return count;
}
uint256 decimals = erc20.decimals();
return count * 2 * (10**(decimals));
}
// Withdraw tokens, supporting both stable and non-stable coins
function withdrawToken(bool safe,Withdraw[] calldata withdrawInfo,address withdrawAddress,address feeTokenAddress) public onlyFinance returns (bool) {
require(feeTokenAddress != address(0), "fee token address is zero");
// check withdrawAddress
require(withdrawMap[withdrawAddress], "withdraw address not allowed");
require(withdrawInfo.length > 0,"withdrawInfo is error");
uint256[] memory feeArray = new uint256[](withdrawInfo.length);
IBlockFee blockFee = IBlockFee(feeGateway);
address feeReceiverAddress = blockFee.feeReceiverAddress();
for(uint256 i = 0; i < withdrawInfo.length;){
Withdraw calldata info = withdrawInfo[i];
require(info.amount > 0, "withdraw amount must be greater than 0");
ICustomizeERC20 erc20 = ICustomizeERC20(info.tokenAddress);
uint256 fee;
uint256 receiveAmount = info.amount;
address sendFeeTokenAddress = info.tokenAddress;
// Check if the token is stable coin
if (blockFee.isStableCoin(info.tokenAddress)) {
// For stable coins, use the original fee calculation method
fee = calcFee(info.tokenAddress, erc20);
require(info.amount >= fee, "withdraw amount is error");
receiveAmount = info.amount - fee;
} else {
// check feeTokenAddress
require(blockFee.isSupportedFeeToken(feeTokenAddress),"feeTokenAddress is not Support");
// For non-stable coins, use the fee token address for fee calculation
fee = calcFee(info.tokenAddress, ICustomizeERC20(feeTokenAddress));
sendFeeTokenAddress = feeTokenAddress;
}
if (receiveAmount > 0){
super.withdrawCommon(safe,info.tokenAddress,withdrawAddress,receiveAmount);
}
feeArray[i] = fee;
if (fee > 0){
// Send fee
transferMap[info.tokenAddress] = 0;
super.withdrawCommon(safe,sendFeeTokenAddress,feeReceiverAddress,fee);
}
unchecked { ++i; }
}
emit WithdrawToken(msg.sender, withdrawAddress, withdrawInfo, feeArray, feeReceiverAddress,feeTokenAddress);
return true;
}
function getWithdrawAddressList() public view returns(address[] memory){
return withdrawList;
}
function getWithdrawAddressFlag(address withdrawAddress) public view returns(bool){
return withdrawMap[withdrawAddress];
}
}
Read Contract
SUB_TYPE 0x984d6e7a → uint256
VERSION 0xffa1ad74 → uint8
feeGateway 0x10a53b9a → address
getBurnFlag 0x8cb7d113 → bool
getOwnerAddressFlag 0x6109069a → bool
getOwnerAddressList 0x21d0034b → address[]
getWithdrawAddressFlag 0x7168aedf → bool
getWithdrawAddressList 0x1227922c → address[]
owner 0x8da5cb5b → address
transferMap 0x78e8114d → uint256
Write Contract 3 functions
These functions modify contract state and require a wallet transaction to execute.
burn 0x44df8e70
No parameters
returns: bool
depositToken 0xa10d0960
address tokenAddress
uint256 amount
string orderId
returns: bool
withdrawToken 0x9fe00049
bool safe
tuple[] withdrawInfo
address withdrawAddress
address feeTokenAddress
returns: bool
Token Balances (2)
View Transfers →Recent Transactions
No transactions found for this address