This nametag was submitted by Kleros Curate.
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 14,383 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Request Liquidat... | 59498071 | 6 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59498044 | 6 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59498025 | 6 hrs ago | IN | 0 ETH | 0.00000937 | ||||
Request Liquidat... | 59492220 | 9 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59492187 | 9 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59492172 | 9 hrs ago | IN | 0 ETH | 0.00000573 | ||||
Request Liquidat... | 59491516 | 10 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59491473 | 10 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59491462 | 10 hrs ago | IN | 0 ETH | 0.00000916 | ||||
Request Liquidat... | 59469328 | 24 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59469269 | 24 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59469245 | 24 hrs ago | IN | 0 ETH | 0.0000147 | ||||
Request Liquidat... | 59460708 | 29 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59460654 | 29 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59460635 | 29 hrs ago | IN | 0 ETH | 0.00000895 | ||||
Request Liquidat... | 59457570 | 31 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59457545 | 31 hrs ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59457534 | 31 hrs ago | IN | 0 ETH | 0.00000891 | ||||
Request Liquidat... | 59378922 | 3 days ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59378887 | 3 days ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59378878 | 3 days ago | IN | 0 ETH | 0.00000891 | ||||
Request Liquidat... | 59374211 | 3 days ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59374167 | 3 days ago | IN | 0 ETH | 0.00000497 | ||||
Request Liquidat... | 59374152 | 3 days ago | IN | 0 ETH | 0.00000568 | ||||
Request Liquidat... | 59373976 | 3 days ago | IN | 0 ETH | 0.00000497 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
58510284 | 22 days ago | 0.0000251 ETH | ||||
58510281 | 22 days ago | 0.0001251 ETH | ||||
58510281 | 22 days ago | 0.0001251 ETH | ||||
58510281 | 22 days ago | 0.0001251 ETH | ||||
57827764 | 36 days ago | 0.0000251 ETH | ||||
57827762 | 36 days ago | 0.0001251 ETH | ||||
57827762 | 36 days ago | 0.0001251 ETH | ||||
57827762 | 36 days ago | 0.0001251 ETH | ||||
56375365 | 61 days ago | 0.0000145 ETH | ||||
56375364 | 61 days ago | 0.0001145 ETH | ||||
56375364 | 61 days ago | 0.0001145 ETH | ||||
56375364 | 61 days ago | 0.0001145 ETH | ||||
55213705 | 78 days ago | 0.0000251 ETH | ||||
55213703 | 78 days ago | 0.0001251 ETH | ||||
55213703 | 78 days ago | 0.0001251 ETH | ||||
55213703 | 78 days ago | 0.0001251 ETH | ||||
54657032 | 86 days ago | 0.0000251 ETH | ||||
54657029 | 86 days ago | 0.0001251 ETH | ||||
54657029 | 86 days ago | 0.0001251 ETH | ||||
54657029 | 86 days ago | 0.0001251 ETH | ||||
54641308 | 86 days ago | 0.0000251 ETH | ||||
54641305 | 86 days ago | 0.0001251 ETH | ||||
54641305 | 86 days ago | 0.0001251 ETH | ||||
54641305 | 86 days ago | 0.0001251 ETH | ||||
53798927 | 97 days ago | 0.0000251 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Gateway
Compiler Version
v0.8.20+commit.a1b79de6
ZkSolc Version
v1.3.14
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import './GatewayStorage.sol'; contract Gateway is GatewayStorage { fallback() external payable { address imp = implementation; assembly { calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), imp, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } receive() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import '../../utils/Admin.sol'; import '../../utils/Implementation.sol'; import '../../utils/ReentryLock.sol'; abstract contract GatewayStorage is Admin, Implementation, ReentryLock { // stateId => value mapping(uint8 => bytes32) internal _gatewayStates; // bToken => stateId => value mapping(address => mapping(uint8 => bytes32)) internal _bTokenStates; // dTokenId => stateId => value mapping(uint256 => mapping(uint8 => bytes32)) internal _dTokenStates; // actionId => executionFee mapping(uint256 => uint256) internal _executionFees; }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; abstract contract Admin { error OnlyAdmin(); event NewAdmin(address newAdmin); address public admin; modifier _onlyAdmin_() { if (msg.sender != admin) { revert OnlyAdmin(); } _; } constructor () { admin = msg.sender; emit NewAdmin(admin); } /** * @notice Set a new admin for the contract. * @dev This function allows the current admin to assign a new admin address without performing any explicit verification. * It's the current admin's responsibility to ensure that the 'newAdmin' address is correct and secure. * @param newAdmin The address of the new admin. */ function setAdmin(address newAdmin) external _onlyAdmin_ { admin = newAdmin; emit NewAdmin(newAdmin); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import './Admin.sol'; abstract contract Implementation is Admin { event NewImplementation(address newImplementation); address public implementation; // @notice Set a new implementation address for the contract function setImplementation(address newImplementation) external _onlyAdmin_ { implementation = newImplementation; emit NewImplementation(newImplementation); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; abstract contract ReentryLock { error Reentry(); bool internal _mutex; // @notice Lock for preventing reentrancy attacks modifier _reentryLock_() { if (_mutex) { revert Reentry(); } _mutex = true; _; _mutex = false; } }
{ "compilerPath": "", "experimental": {}, "libraries": { "contracts/dchain/symbol/Futures.sol": { "Futures": "0x0000000000000000000000000000000000000001" }, "contracts/dchain/symbol/Option.sol": { "Option": "0x0000000000000000000000000000000000000002" }, "contracts/dchain/symbol/Power.sol": { "Power": "0x0000000000000000000000000000000000000003" } }, "optimizer": { "enabled": true, "mode": "3" } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"OnlyAdmin","type":"error"},{"inputs":[],"name":"Reentry","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newImplementation","type":"address"}],"name":"NewImplementation","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
9c4d535b000000000000000000000000000000000000000000000000000000000000000001000069f78663311e64e5232d37f29e55ace31464c535296b05baf27b2aed7a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x000400000000000200000000030100190000006003300270000000550430019700030000004103550002000000010355000000550030019d000100000000001f0000008001000039000000400010043f0000000101200190000000490000c13d0000000003000031000000040130008c000000630000413d0000000201000367000000000201043b000000e0022002700000005a0420009c000000670000213d0000005d0420009c000000ed0000613d0000005e0220009c000000870000c13d0000000001000416000000000101004b000001350000c13d000000040100008a00000000011000310000005f02000041000000200310008c000000000300001900000000030240190000005f01100197000000000401004b000000000200a0190000005f0110009c00000000010300190000000001026019000000000101004b000001350000c13d00000004010000390000000201100367000000000101043b000000600210009c000001350000213d000000000200041a00000060032001970000000004000411000000000334004b0000013d0000c13d0000005602200197000000000212019f000000000020041b000000400200043d000000000012043500000055010000410000000003000414000000550430009c0000000003018019000000550420009c00000000010240190000004001100210000000c002300210000000000112019f00000062011001c70000800d0200003900000001030000390000005804000041015001460000040f0000000101200190000001350000613d000000650000013d0000000001000416000000000101004b000001350000c13d000000000100041a00000056011001970000000002000411000000000121019f000000000010041b000000800020043f00000055010000410000000002000414000000550320009c0000000001024019000000c00110021000000057011001c70000800d0200003900000001030000390000005804000041015001460000040f0000000101200190000001350000613d0000002001000039000001000010044300000120000004430000005901000041000001510001042e000000000103004b000000860000c13d0000000001000019000001510001042e0000005b0420009c000001040000613d0000005c0220009c000000870000c13d0000000001000416000000000101004b000001350000c13d000000040100008a00000000011000310000005f02000041000000000301004b000000000300001900000000030240190000005f01100197000000000401004b000000000200a0190000005f0110009c00000000010300190000000001026019000000000101004b000001350000c13d000000000100041a0000006001100197000000400200043d00000000001204350000005501000041000000550320009c0000000001024019000000400110021000000061011001c7000001510001042e00000002010003670000001f0430018f0000000102000039000000000202041a00000060022001970000000503300272000000950000613d00000000050000190000000506500210000000000761034f000000000707043b00000000007604350000000105500039000000000635004b0000008e0000413d000000000504004b000000a30000613d00000003044002100000000503300210000000000503043300000000054501cf000000000545022f000000000131034f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f000000000013043500000000010000310000000003000414000000040420008c000000c30000c13d000000030100036700000001020000310000001f0320018f0000000502200272000000b40000613d00000000040000190000000505400210000000000651034f000000000606043b00000000006504350000000104400039000000000524004b000000ad0000413d000000000403004b000000ea0000613d00000003033002100000000502200210000000000402043300000000043401cf000000000434022f000000000121034f000000000101043b0000010003300089000000000131022f00000000013101cf000000000141019f0000000000120435000000ea0000013d0000005504000041000000550530009c0000000003048019000000c003300210000000600110021000000000011300190150014b0000040f0003000000010355000000000301001900000060043002700000001f0340018f000100550040019d00000055044001970000000504400272000000da0000613d00000000050000190000000506500210000000000761034f000000000707043b00000000007604350000000105500039000000000645004b000000d30000413d000000000503004b000000e80000613d00000003033002100000000504400210000000000504043300000000053501cf000000000535022f000000000141034f000000000101043b0000010003300089000000000131022f00000000013101cf000000000151019f00000000001404350000000101200190000001370000613d000000600100003900000001011001ff000001510001042e0000000001000416000000000101004b000001350000c13d000000040100008a00000000011000310000005f02000041000000000301004b000000000300001900000000030240190000005f01100197000000000401004b000000000200a0190000005f0110009c00000000010300190000000001026019000000000101004b000001350000c13d0000000101000039000000000101041a0000006001100197000000800010043f0000006601000041000001510001042e0000000001000416000000000101004b000001350000c13d000000040100008a00000000011000310000005f02000041000000200310008c000000000300001900000000030240190000005f01100197000000000401004b000000000200a0190000005f0110009c00000000010300190000000001026019000000000101004b000001350000c13d00000004010000390000000201100367000000000101043b000000600210009c000001350000213d000000000200041a00000060022001970000000003000411000000000223004b0000013d0000c13d0000000103000039000000000203041a0000005602200197000000000212019f000000000023041b000000400200043d000000000012043500000055010000410000000004000414000000550540009c0000000004018019000000550520009c00000000010240190000004001100210000000c002400210000000000112019f00000062011001c70000800d020000390000006304000041015001460000040f0000000101200190000000650000c13d0000000001000019000001520001043000000055010000410000000102000031000000550320009c000000000102401900000060011002100000015200010430000000400100043d000000640200004100000000002104350000005502000041000000550310009c0000000001028019000000400110021000000065011001c7000001520001043000000149002104210000000102000039000000000001042d0000000002000019000000000001042d0000014e002104250000000102000039000000000001042d0000000002000019000000000001042d0000015000000432000001510001042e0000015200010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000020000000000000000000000000000000000002000000080000000000000000071614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000d784d42500000000000000000000000000000000000000000000000000000000d784d42600000000000000000000000000000000000000000000000000000000f851a440000000000000000000000000000000000000000000000000000000005c60da1b00000000000000000000000000000000000000000000000000000000704b6c028000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000002000000000000000000000000002000000000000000000000000000000000000200000000000000000000000006b70829fcbe4891157f7a7496f9870927de3c8237adbe9cd39bae09b7382c4094755657900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000200000008000000000000000000000000000000000000000000000000000000000000000000000000000000000a3d176266d3bb81b4e546400d044a9d196dde687da72569429e34aa4faae3186
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.