Source Code
Latest 1 from a total of 1 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 10112199 | 861 days ago | IN | 0.003 ETH | 0.00001884 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 10783411 | 846 days ago | 0.001 ETH | ||||
| 10783118 | 846 days ago | 0.001 ETH | ||||
| 10782951 | 846 days ago | 0.001 ETH | ||||
| 10782862 | 846 days ago | 0.001 ETH | ||||
| 10782834 | 846 days ago | 0.001 ETH | ||||
| 10782278 | 846 days ago | 0.001 ETH | ||||
| 10782254 | 846 days ago | 0.001 ETH | ||||
| 10782027 | 846 days ago | 0.001 ETH | ||||
| 10781944 | 846 days ago | 0.001 ETH | ||||
| 10781718 | 846 days ago | 0.001 ETH | ||||
| 10781681 | 846 days ago | 0.001 ETH | ||||
| 10781592 | 846 days ago | 0.001 ETH | ||||
| 10781557 | 846 days ago | 0.001 ETH | ||||
| 10781533 | 846 days ago | 0.001 ETH | ||||
| 10781485 | 846 days ago | 0.001 ETH | ||||
| 10781459 | 846 days ago | 0.001 ETH | ||||
| 10780164 | 846 days ago | 0.001 ETH | ||||
| 10779975 | 846 days ago | 0.001 ETH | ||||
| 10779578 | 846 days ago | 0.001 ETH | ||||
| 10778443 | 846 days ago | 0.001 ETH | ||||
| 10778402 | 846 days ago | 0.001 ETH | ||||
| 10778360 | 846 days ago | 0.001 ETH | ||||
| 10778170 | 846 days ago | 0.001 ETH | ||||
| 10777686 | 846 days ago | 0.001 ETH | ||||
| 10777655 | 846 days ago | 0.001 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"productsModuleAddress_","type":"address"},{"internalType":"uint256","name":"slicerId_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Invalid","type":"error"},{"inputs":[],"name":"NoDelegatecall","type":"error"},{"inputs":[],"name":"NotAllowed","type":"error"},{"inputs":[],"name":"NotPurchase","type":"error"},{"inputs":[],"name":"NotSuccessful","type":"error"},{"inputs":[],"name":"WrongSlicer","type":"error"},{"inputs":[],"name":"ENABLED_PRODUCT_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKENS_PER_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYBG","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"productId","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"isPurchaseAllowed","outputs":[{"internalType":"bool","name":"isAllowed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"slicerId","type":"uint256"},{"internalType":"uint256","name":"productId","type":"uint256"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onProductPurchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60a060405234801561001057600080fd5b506040516107fd3803806107fd83398101604081905261002f9161005c565b600080546001600160a01b0319166001600160a01b03939093169290921790915560015530608052610096565b6000806040838503121561006f57600080fd5b82516001600160a01b038116811461008657600080fd5b6020939093015192949293505050565b60805161074c6100b16000396000610508015261074c6000f3fe6080604052600436106100745760003560e01c806395db93681161004e57806395db9368146100f1578063a23fffb914610121578063ac724d6e14610134578063ff101e301461016057600080fd5b80630a38f148146100805780633ccfd60b146100c55780638d8f2adb146100dc57600080fd5b3661007b57005b600080fd5b34801561008c57600080fd5b506100a8730d97f261b1e88845184f678e2d1e7a98d9fd38de81565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100d157600080fd5b506100da610175565b005b3480156100e857600080fd5b506100da610229565b3480156100fd57600080fd5b5061011161010c366004610636565b61035d565b60405190151581526020016100bc565b6100da61012f366004610636565b61038d565b34801561014057600080fd5b506101526901ca3cf0ba1628f4000081565b6040519081526020016100bc565b34801561016c57600080fd5b50610152600481565b337385a5c7368167c974f3e4b7cc912b96c361fb5377146101a957604051636dac6a0960e01b815260040160405180910390fd5b6040516000907385a5c7368167c974f3e4b7cc912b96c361fb53779047908381818185875af1925050503d80600081146101ff576040519150601f19603f3d011682016040523d82523d6000602084013e610204565b606091505b505090508061022657604051636dac6a0960e01b815260040160405180910390fd5b50565b337385a5c7368167c974f3e4b7cc912b96c361fb53771461025d57604051636dac6a0960e01b815260040160405180910390fd5b6040516370a0823160e01b8152306004820152730d97f261b1e88845184f678e2d1e7a98d9fd38de9063a9059cbb907385a5c7368167c974f3e4b7cc912b96c361fb53779083906370a0823190602401602060405180830381865afa1580156102ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ee91906106d4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610339573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022691906106ed565b600085600414801561038257503273320de7bbe088167617aa7c8b6a3aa7c2a287ec71145b979650505050505050565b85610397816104f4565b6103c387878787604051806020016040528060008152506040518060200160405280600081525061035d565b6103e057604051631eb49d6d60e11b815260040160405180910390fd5b60405163a9059cbb60e01b81526001600160a01b03861660048201526901ca3cf0ba1628f400006024820152730d97f261b1e88845184f678e2d1e7a98d9fd38de9063a9059cbb906044016020604051808303816000875af115801561044a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046e91906106ed565b506000856001600160a01b031666038d7ea4c6800060405160006040518083038185875af1925050503d80600081146104c3576040519150601f19603f3d011682016040523d82523d6000602084013e6104c8565b606091505b50509050806104ea57604051636dac6a0960e01b815260040160405180910390fd5b5050505050505050565b6104fd81610546565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102265760405163acbcffa760e01b815260040160405180910390fd5b806001541461056857604051632eafdb6960e01b815260040160405180910390fd5b6000546001600160a01b03163314610226576040516347322d0360e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b600082601f8301126105ba57600080fd5b813567ffffffffffffffff808211156105d5576105d5610593565b604051601f8301601f19908116603f011681019082821181831017156105fd576105fd610593565b8160405283815286602085880101111561061657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561064f57600080fd5b863595506020870135945060408701356001600160a01b038116811461067457600080fd5b935060608701359250608087013567ffffffffffffffff8082111561069857600080fd5b6106a48a838b016105a9565b935060a08901359150808211156106ba57600080fd5b506106c789828a016105a9565b9150509295509295509295565b6000602082840312156106e657600080fd5b5051919050565b6000602082840312156106ff57600080fd5b8151801515811461070f57600080fd5b939250505056fea2646970667358221220560a6d927beb107d4043b74ce359df6fd4d1c37e2fd75e96e8c347744be9ea5564736f6c63430008130033000000000000000000000000b9d5b99d5d0fa04dd7eb2b0cd7753317c2ea1a8400000000000000000000000000000000000000000000000000000000000000f1
Deployed Bytecode
0x6080604052600436106100745760003560e01c806395db93681161004e57806395db9368146100f1578063a23fffb914610121578063ac724d6e14610134578063ff101e301461016057600080fd5b80630a38f148146100805780633ccfd60b146100c55780638d8f2adb146100dc57600080fd5b3661007b57005b600080fd5b34801561008c57600080fd5b506100a8730d97f261b1e88845184f678e2d1e7a98d9fd38de81565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100d157600080fd5b506100da610175565b005b3480156100e857600080fd5b506100da610229565b3480156100fd57600080fd5b5061011161010c366004610636565b61035d565b60405190151581526020016100bc565b6100da61012f366004610636565b61038d565b34801561014057600080fd5b506101526901ca3cf0ba1628f4000081565b6040519081526020016100bc565b34801561016c57600080fd5b50610152600481565b337385a5c7368167c974f3e4b7cc912b96c361fb5377146101a957604051636dac6a0960e01b815260040160405180910390fd5b6040516000907385a5c7368167c974f3e4b7cc912b96c361fb53779047908381818185875af1925050503d80600081146101ff576040519150601f19603f3d011682016040523d82523d6000602084013e610204565b606091505b505090508061022657604051636dac6a0960e01b815260040160405180910390fd5b50565b337385a5c7368167c974f3e4b7cc912b96c361fb53771461025d57604051636dac6a0960e01b815260040160405180910390fd5b6040516370a0823160e01b8152306004820152730d97f261b1e88845184f678e2d1e7a98d9fd38de9063a9059cbb907385a5c7368167c974f3e4b7cc912b96c361fb53779083906370a0823190602401602060405180830381865afa1580156102ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ee91906106d4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610339573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022691906106ed565b600085600414801561038257503273320de7bbe088167617aa7c8b6a3aa7c2a287ec71145b979650505050505050565b85610397816104f4565b6103c387878787604051806020016040528060008152506040518060200160405280600081525061035d565b6103e057604051631eb49d6d60e11b815260040160405180910390fd5b60405163a9059cbb60e01b81526001600160a01b03861660048201526901ca3cf0ba1628f400006024820152730d97f261b1e88845184f678e2d1e7a98d9fd38de9063a9059cbb906044016020604051808303816000875af115801561044a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046e91906106ed565b506000856001600160a01b031666038d7ea4c6800060405160006040518083038185875af1925050503d80600081146104c3576040519150601f19603f3d011682016040523d82523d6000602084013e6104c8565b606091505b50509050806104ea57604051636dac6a0960e01b815260040160405180910390fd5b5050505050505050565b6104fd81610546565b306001600160a01b037f000000000000000000000000b3ab0f360ad72e458d6dd7aea41c364672e76b8116146102265760405163acbcffa760e01b815260040160405180910390fd5b806001541461056857604051632eafdb6960e01b815260040160405180910390fd5b6000546001600160a01b03163314610226576040516347322d0360e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b600082601f8301126105ba57600080fd5b813567ffffffffffffffff808211156105d5576105d5610593565b604051601f8301601f19908116603f011681019082821181831017156105fd576105fd610593565b8160405283815286602085880101111561061657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561064f57600080fd5b863595506020870135945060408701356001600160a01b038116811461067457600080fd5b935060608701359250608087013567ffffffffffffffff8082111561069857600080fd5b6106a48a838b016105a9565b935060a08901359150808211156106ba57600080fd5b506106c789828a016105a9565b9150509295509295509295565b6000602082840312156106e657600080fd5b5051919050565b6000602082840312156106ff57600080fd5b8151801515811461070f57600080fd5b939250505056fea2646970667358221220560a6d927beb107d4043b74ce359df6fd4d1c37e2fd75e96e8c347744be9ea5564736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b9d5b99d5d0fa04dd7eb2b0cd7753317c2ea1a8400000000000000000000000000000000000000000000000000000000000000f1
-----Decoded View---------------
Arg [0] : productsModuleAddress_ (address): 0xb9d5B99d5D0fA04dD7eb2b0CD7753317C2ea1a84
Arg [1] : slicerId_ (uint256): 241
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b9d5b99d5d0fa04dd7eb2b0cd7753317c2ea1a84
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000f1
🤖 Code Reader
Generate instant answers for your smart contract questions using Al Models. Read more.
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.

