ETH Price: $2,556.19 (-2.98%)

Contract

0xc456c79213D0d39Fbb2bec1d8Ec356c6d3970A2f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Release146433892022-04-23 21:03:54905 days ago1650747834IN
0xc456c792...6d3970A2f
0 ETH0.059151225.25
Release114337202020-12-11 20:12:341403 days ago1607717554IN
0xc456c792...6d3970A2f
0 ETH0.0713699921.21
Release113550992020-11-29 17:58:541415 days ago1606672734IN
0xc456c792...6d3970A2f
0 ETH0.0375904412.12
Release112938432020-11-20 8:20:181425 days ago1605860418IN
0xc456c792...6d3970A2f
0 ETH0.1680058753.00000145
Release112445862020-11-12 19:05:521432 days ago1605207952IN
0xc456c792...6d3970A2f
0 ETH0.045703414.15000153
Release112262622020-11-09 23:18:341435 days ago1604963914IN
0xc456c792...6d3970A2f
0 ETH0.091243615.21
0x60806040112248812020-11-09 18:13:381435 days ago1604945618IN
 Create: BoardDividends
0 ETH0.007356428.21

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BoardDividends

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *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

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"}]

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.