Verified contractExact
ProxyTest
Address0x46d4170bc139791980c8a854150e64e06ddee2ca
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.7.0
- Same code
2 more contracts
Details
- Compiler
- solc 0.7.0+commit.9e61f92b
- Language
- solidity
- Optimization
- Yes, 999,999 runs
- EVM version
- istanbul
- License
- Not stated
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 11,452,599
- Creation transaction
- 0xebd8edb873…e5622d610d
- Main copy (most transactions)
- 0x1437f97a…fecbf9c5
/Users/isdenya/Downloads/transfer-contract/contracts/ProxyTest.sol
pragma solidity 0.7.0;
interface I {
function transfer(address r, uint256 a) external;
}
contract ProxyTest {
address payable private b;
uint256 public f;
constructor() {
b = msg.sender;
f = 1; // spend 20000 gas
}
function w(address c, address t, uint256 a) external {
require(b == msg.sender, "");
f = 0; // spend 5000 gas, refund 15000 gas
I e = I(c);
e.transfer(t, a);
}
}
Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 999999,
"enabled": true
},
"evmVersion": "istanbul",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.