More Info
Private Name Tags
ContractCreator
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Release | 14643389 | 905 days ago | IN | 0 ETH | 0.0591512 | ||||
Release | 11433720 | 1403 days ago | IN | 0 ETH | 0.07136999 | ||||
Release | 11355099 | 1415 days ago | IN | 0 ETH | 0.03759044 | ||||
Release | 11293843 | 1425 days ago | IN | 0 ETH | 0.16800587 | ||||
Release | 11244586 | 1432 days ago | IN | 0 ETH | 0.0457034 | ||||
Release | 11226262 | 1435 days ago | IN | 0 ETH | 0.0912436 | ||||
0x60806040 | 11224881 | 1435 days ago | IN | 0 ETH | 0.0073564 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BoardDividends
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-09 */ pragma solidity ^0.6.12; interface SURF { function balanceOf(address) external view returns (uint256); function transfer(address, uint256) external returns (bool); } interface Boards { function totalSupply() external view returns (uint256); function ownerOf(uint256) external view returns (address); function tokenByIndex(uint256) external view returns (uint256); } contract BoardDividends { struct Info { SURF surf; Boards boards; } Info private info; constructor() public { info.surf = SURF(0xEa319e87Cf06203DAe107Dd8E5672175e3Ee976c); info.boards = Boards(0xf90AeeF57Ae8Bc85FE8d40a3f4a45042F4258c67); } function release() external { uint256 _balance = info.surf.balanceOf(address(this)); if (_balance > 0) { uint256 _boards = info.boards.totalSupply(); uint256 _each = _balance / _boards; for (uint256 i = 0; i < _boards; i++) { address _owner = info.boards.ownerOf(info.boards.tokenByIndex(i)); info.surf.transfer(_owner, _each); } } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50600080546001600160a01b031990811673ea319e87cf06203dae107dd8e5672175e3ee976c179091556001805490911673f90aeef57ae8bc85fe8d40a3f4a45042f4258c671790556102fb806100686000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806386d1a69f14610030575b600080fd5b61003861003a565b005b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561008657600080fd5b505afa15801561009a573d6000803e3d6000fd5b505050506040513d60208110156100b057600080fd5b5051905080156102c257600154604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156100ff57600080fd5b505afa158015610113573d6000803e3d6000fd5b505050506040513d602081101561012957600080fd5b50519050600081838161013857fe5b04905060005b828110156102be5760015460408051634f6ccce760e01b81526004810184905290516000926001600160a01b031691636352211e918391634f6ccce7916024808301926020929190829003018186803b15801561019a57600080fd5b505afa1580156101ae573d6000803e3d6000fd5b505050506040513d60208110156101c457600080fd5b5051604080516001600160e01b031960e085901b1681526004810192909252516024808301926020929190829003018186803b15801561020357600080fd5b505afa158015610217573d6000803e3d6000fd5b505050506040513d602081101561022d57600080fd5b5051600080546040805163a9059cbb60e01b81526001600160a01b03808616600483015260248201899052915194955091169263a9059cbb92604480840193602093929083900390910190829087803b15801561028957600080fd5b505af115801561029d573d6000803e3d6000fd5b505050506040513d60208110156102b357600080fd5b50505060010161013e565b5050505b5056fea26469706673582212201d6833b092bd8af01ceb58f3a375fc2ef1375c9686d9348e80adefcd4064bc5864736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806386d1a69f14610030575b600080fd5b61003861003a565b005b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561008657600080fd5b505afa15801561009a573d6000803e3d6000fd5b505050506040513d60208110156100b057600080fd5b5051905080156102c257600154604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156100ff57600080fd5b505afa158015610113573d6000803e3d6000fd5b505050506040513d602081101561012957600080fd5b50519050600081838161013857fe5b04905060005b828110156102be5760015460408051634f6ccce760e01b81526004810184905290516000926001600160a01b031691636352211e918391634f6ccce7916024808301926020929190829003018186803b15801561019a57600080fd5b505afa1580156101ae573d6000803e3d6000fd5b505050506040513d60208110156101c457600080fd5b5051604080516001600160e01b031960e085901b1681526004810192909252516024808301926020929190829003018186803b15801561020357600080fd5b505afa158015610217573d6000803e3d6000fd5b505050506040513d602081101561022d57600080fd5b5051600080546040805163a9059cbb60e01b81526001600160a01b03808616600483015260248201899052915194955091169263a9059cbb92604480840193602093929083900390910190829087803b15801561028957600080fd5b505af115801561029d573d6000803e3d6000fd5b505050506040513d60208110156102b357600080fd5b50505060010161013e565b5050505b5056fea26469706673582212201d6833b092bd8af01ceb58f3a375fc2ef1375c9686d9348e80adefcd4064bc5864736f6c634300060c0033
Deployed Bytecode Sourcemap
387:643:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;657:370;;;:::i;:::-;;;690:16;709:9;;:34;;;-1:-1:-1;;;709:34:0;;737:4;709:34;;;;;;-1:-1:-1;;;;;709:9:0;;;;:19;;:34;;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;709:34:0;;-1:-1:-1;752:12:0;;748:275;;790:11;;:25;;;-1:-1:-1;;;790:25:0;;;;772:15;;-1:-1:-1;;;;;790:11:0;;:23;;:25;;;;;;;;;;;;;;:11;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;790:25:0;;-1:-1:-1;821:13:0;790:25;837:8;790:25;837:18;;;;;821:34;;866:9;861:157;885:7;881:1;:11;861:157;;;923:11;;943:27;;;-1:-1:-1;;;943:27:0;;;;;;;;;;906:14;;-1:-1:-1;;;;;923:11:0;;:19;;:11;;943:24;;:27;;;;;;;;;;;;;;923:11;943:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;943:27:0;923:48;;;-1:-1:-1;;;;;;923:48:0;;;;;;;;;;;;;;;;;;;;943:27;;923:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;923:48:0;978:4;:9;;:33;;;-1:-1:-1;;;978:33:0;;-1:-1:-1;;;;;978:33:0;;;;;;;;;;;;;;;923:48;;-1:-1:-1;978:9:0;;;:18;;:33;;;;;923:48;;978:33;;;;;;;;;;;:9;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;894:3:0;;861:157;;;;748:275;;;657:370;:::o
Swarm Source
ipfs://1d6833b092bd8af01ceb58f3a375fc2ef1375c9686d9348e80adefcd4064bc58
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.