Verified contractPartial
BurnOnly
Address0x476ba584f2fdf4e2ecb54faaccefaa9486666292
- Balance
0 ETH
- Transactions
5
- Compiler
solc 0.5.17
- Same code
Only this contract
Details
- Compiler
- solc 0.5.17+commit.d19bba13
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 10,687,281
- Creation transaction
- 0x3731da3529…5da9ba94bf
BurnOnly.sol
pragma solidity ^0.5.13;
pragma experimental ABIEncoderV2;
interface Burnable {
function burn(uint256) external returns (bool);
}
contract BurnOnly {
Burnable internal B;
constructor(address _b) public {
B = Burnable(_b);
}
function burn(uint256 _amount) external returns (bool) {
return B.burn(_amount);
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.