More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 43 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Distribute | 19499282 | 160 days ago | IN | 0 ETH | 0.00221621 | ||||
Distribute | 17475611 | 443 days ago | IN | 0 ETH | 0.00336168 | ||||
Distribute | 17475607 | 443 days ago | IN | 0 ETH | 0.00050228 | ||||
Distribute | 17475607 | 443 days ago | IN | 0 ETH | 0.00397415 | ||||
Distribute | 12904277 | 1130 days ago | IN | 0 ETH | 0.00467995 | ||||
Distribute | 12803748 | 1146 days ago | IN | 0 ETH | 0.00076499 | ||||
Distribute | 12801469 | 1147 days ago | IN | 0 ETH | 0.00177838 | ||||
Distribute | 12779589 | 1150 days ago | IN | 0 ETH | 0.00229497 | ||||
Distribute | 12769630 | 1151 days ago | IN | 0 ETH | 0.00076499 | ||||
Distribute | 12726730 | 1158 days ago | IN | 0 ETH | 0.00109393 | ||||
Distribute | 12710944 | 1161 days ago | IN | 0 ETH | 0.00168478 | ||||
Distribute | 12698516 | 1163 days ago | IN | 0 ETH | 0.00175947 | ||||
Distribute | 12698511 | 1163 days ago | IN | 0 ETH | 0.0017587 | ||||
Distribute | 12695092 | 1163 days ago | IN | 0 ETH | 0.00028983 | ||||
Distribute | 12695091 | 1163 days ago | IN | 0 ETH | 0.00076499 | ||||
Distribute | 12694186 | 1163 days ago | IN | 0 ETH | 0.00087973 | ||||
Distribute | 12693418 | 1163 days ago | IN | 0 ETH | 0.00076499 | ||||
Distribute | 12693213 | 1163 days ago | IN | 0 ETH | 0.00076499 | ||||
Distribute | 12693144 | 1163 days ago | IN | 0 ETH | 0.00084148 | ||||
Distribute | 12693059 | 1163 days ago | IN | 0 ETH | 0.00093599 | ||||
Distribute | 12693029 | 1163 days ago | IN | 0 ETH | 0.00121678 | ||||
Distribute | 12675225 | 1166 days ago | IN | 0 ETH | 0.00130048 | ||||
Distribute | 12662301 | 1168 days ago | IN | 0 ETH | 0.00107098 | ||||
Distribute | 12660098 | 1169 days ago | IN | 0 ETH | 0.00252446 | ||||
Distribute | 12658474 | 1169 days ago | IN | 0 ETH | 0.00168297 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DistributionWallet
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-23 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); } struct Wallets { address team; address charity; address staking; address liquidity; } contract DistributionWallet { IERC20 token; Wallets public wallets; event Distributed(uint256 amount); constructor(address _token, Wallets memory _wallets) { token = IERC20(_token); wallets = _wallets; } function distribute() public { uint256 balance = token.balanceOf(address(this)); require(balance > 0, "no tokens to transfer"); emit Distributed(balance); uint256 distributionReward = balance / 1000; balance -= distributionReward; uint256 teamAmount = (balance * 15) / 100; uint256 charityAmount = (balance * 625) / 10000; uint256 liquidityAmount = (balance * 375) / 10000; uint256 stakingAmount = balance - teamAmount - charityAmount - liquidityAmount; token.transfer(wallets.team, teamAmount); token.transfer(wallets.charity, charityAmount); token.transfer(wallets.liquidity, liquidityAmount); token.transfer(wallets.staking, stakingAmount); token.transfer(msg.sender, distributionReward); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"components":[{"internalType":"address","name":"team","type":"address"},{"internalType":"address","name":"charity","type":"address"},{"internalType":"address","name":"staking","type":"address"},{"internalType":"address","name":"liquidity","type":"address"}],"internalType":"struct Wallets","name":"_wallets","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Distributed","type":"event"},{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wallets","outputs":[{"internalType":"address","name":"team","type":"address"},{"internalType":"address","name":"charity","type":"address"},{"internalType":"address","name":"staking","type":"address"},{"internalType":"address","name":"liquidity","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516108b03803806108b083398101604081905261002f916100bd565b600080546001600160a01b03199081166001600160a01b039485161790915581516001805483169185169190911790556020820151600280548316918516919091179055604082015160038054831691851691909117905560609091015160048054909216921691909117905561016a565b80516001600160a01b03811681146100b857600080fd5b919050565b60008082840360a08112156100d0578283fd5b6100d9846100a1565b92506080601f19820112156100ec578182fd5b50604051608081016001600160401b038111828210171561011b57634e487b7160e01b83526041600452602483fd5b60405261012a602085016100a1565b8152610138604085016100a1565b6020820152610149606085016100a1565b604082015261015a608085016100a1565b6060820152809150509250929050565b610737806101796000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063d2f4a50a1461003b578063e4fc6b6d146100af575b600080fd5b60015460025460035460045461006e9373ffffffffffffffffffffffffffffffffffffffff908116938116928116911684565b6040805173ffffffffffffffffffffffffffffffffffffffff9586168152938516602085015291841683830152909216606082015290519081900360800190f35b6100b76100b9565b005b600080546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b15801561012357600080fd5b505afa158015610137573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061015b919061062d565b9050600081116101cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f6e6f20746f6b656e7320746f207472616e736665720000000000000000000000604482015260640160405180910390fd5b6040518181527fddc9c30275a04c48091f24199f9c405765de34d979d6847f5b9798a57232d2e59060200160405180910390a1600061020c6103e883610645565b905061021881836106bb565b91506000606461022984600f61067e565b6102339190610645565b905060006127106102468561027161067e565b6102509190610645565b905060006127106102638661017761067e565b61026d9190610645565b90506000818361027d86896106bb565b61028791906106bb565b61029191906106bb565b6000546001546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101889052929350169063a9059cbb90604401602060405180830381600087803b15801561030957600080fd5b505af115801561031d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103419190610606565b506000546002546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810186905291169063a9059cbb90604401602060405180830381600087803b1580156103b857600080fd5b505af11580156103cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f09190610606565b50600054600480546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821692810192909252602482018590529091169063a9059cbb90604401602060405180830381600087803b15801561046b57600080fd5b505af115801561047f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a39190610606565b506000546003546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810184905291169063a9059cbb90604401602060405180830381600087803b15801561051a57600080fd5b505af115801561052e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105529190610606565b506000546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810187905273ffffffffffffffffffffffffffffffffffffffff9091169063a9059cbb90604401602060405180830381600087803b1580156105c557600080fd5b505af11580156105d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fd9190610606565b50505050505050565b600060208284031215610617578081fd5b81518015158114610626578182fd5b9392505050565b60006020828403121561063e578081fd5b5051919050565b600082610679577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156106b6576106b66106d2565b500290565b6000828210156106cd576106cd6106d2565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212208812b71edc9a6d83fd4a5dab0db177202d675c181bf2e24e5b19092b37815de164736f6c63430008040033000000000000000000000000a682ee16b497afceedf47e4820fc2af3845fd2d2000000000000000000000000af4d3ee0061c18eeb19f852658e4088e572f6a27000000000000000000000000969015c7dbefca0d72ee4d49f0b09bd1bea3a5570000000000000000000000003498296daa51c1da882376ed66bfbe3988745453000000000000000000000000f21b2f10e523a2a35c0797ce835523d1bd02e309
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063d2f4a50a1461003b578063e4fc6b6d146100af575b600080fd5b60015460025460035460045461006e9373ffffffffffffffffffffffffffffffffffffffff908116938116928116911684565b6040805173ffffffffffffffffffffffffffffffffffffffff9586168152938516602085015291841683830152909216606082015290519081900360800190f35b6100b76100b9565b005b600080546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b15801561012357600080fd5b505afa158015610137573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061015b919061062d565b9050600081116101cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f6e6f20746f6b656e7320746f207472616e736665720000000000000000000000604482015260640160405180910390fd5b6040518181527fddc9c30275a04c48091f24199f9c405765de34d979d6847f5b9798a57232d2e59060200160405180910390a1600061020c6103e883610645565b905061021881836106bb565b91506000606461022984600f61067e565b6102339190610645565b905060006127106102468561027161067e565b6102509190610645565b905060006127106102638661017761067e565b61026d9190610645565b90506000818361027d86896106bb565b61028791906106bb565b61029191906106bb565b6000546001546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff918216600482015260248101889052929350169063a9059cbb90604401602060405180830381600087803b15801561030957600080fd5b505af115801561031d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103419190610606565b506000546002546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810186905291169063a9059cbb90604401602060405180830381600087803b1580156103b857600080fd5b505af11580156103cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f09190610606565b50600054600480546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821692810192909252602482018590529091169063a9059cbb90604401602060405180830381600087803b15801561046b57600080fd5b505af115801561047f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a39190610606565b506000546003546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810184905291169063a9059cbb90604401602060405180830381600087803b15801561051a57600080fd5b505af115801561052e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105529190610606565b506000546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810187905273ffffffffffffffffffffffffffffffffffffffff9091169063a9059cbb90604401602060405180830381600087803b1580156105c557600080fd5b505af11580156105d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fd9190610606565b50505050505050565b600060208284031215610617578081fd5b81518015158114610626578182fd5b9392505050565b60006020828403121561063e578081fd5b5051919050565b600082610679577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156106b6576106b66106d2565b500290565b6000828210156106cd576106cd6106d2565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212208812b71edc9a6d83fd4a5dab0db177202d675c181bf2e24e5b19092b37815de164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a682ee16b497afceedf47e4820fc2af3845fd2d2000000000000000000000000af4d3ee0061c18eeb19f852658e4088e572f6a27000000000000000000000000969015c7dbefca0d72ee4d49f0b09bd1bea3a5570000000000000000000000003498296daa51c1da882376ed66bfbe3988745453000000000000000000000000f21b2f10e523a2a35c0797ce835523d1bd02e309
-----Decoded View---------------
Arg [0] : _token (address): 0xA682Ee16b497afcEEDF47e4820Fc2af3845FD2D2
Arg [1] : _wallets (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a682ee16b497afceedf47e4820fc2af3845fd2d2
Arg [1] : 000000000000000000000000af4d3ee0061c18eeb19f852658e4088e572f6a27
Arg [2] : 000000000000000000000000969015c7dbefca0d72ee4d49f0b09bd1bea3a557
Arg [3] : 0000000000000000000000003498296daa51c1da882376ed66bfbe3988745453
Arg [4] : 000000000000000000000000f21b2f10e523a2a35c0797ce835523d1bd02e309
Deployed Bytecode Sourcemap
2998:1098:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3052:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;987:42:1;1056:15;;;1038:34;;1108:15;;;1103:2;1088:18;;1081:43;1160:15;;;1140:18;;;1133:43;1212:15;;;1207:2;1192:18;;1185:43;3052:22:0;;;;;;964:3:1;3052:22:0;;;3256:837;;;:::i;:::-;;;3296:15;3314:5;;:30;;;;;3338:4;3314:30;;;661:74:1;3314:5:0;;;;;:15;;634:18:1;;3314:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3296:48;;3373:1;3363:7;:11;3355:45;;;;;;;1743:2:1;3355:45:0;;;1725:21:1;1782:2;1762:18;;;1755:30;1821:23;1801:18;;;1794:51;1862:18;;3355:45:0;;;;;;;;3416:20;;2037:25:1;;;3416:20:0;;2025:2:1;2010:18;3416:20:0;;;;;;;3447:26;3476:14;3486:4;3476:7;:14;:::i;:::-;3447:43;-1:-1:-1;3501:29:0;3447:43;3501:29;;:::i;:::-;;-1:-1:-1;3541:18:0;3579:3;3563:12;3501:29;3573:2;3563:12;:::i;:::-;3562:20;;;;:::i;:::-;3541:41;-1:-1:-1;3593:21:0;3635:5;3618:13;:7;3628:3;3618:13;:::i;:::-;3617:23;;;;:::i;:::-;3593:47;-1:-1:-1;3651:23:0;3695:5;3678:13;:7;3688:3;3678:13;:::i;:::-;3677:23;;;;:::i;:::-;3651:49;-1:-1:-1;3711:21:0;3651:49;3771:13;3748:20;3758:10;3748:7;:20;:::i;:::-;:36;;;;:::i;:::-;:54;;;;:::i;:::-;3813:5;;;3828:12;3813:40;;;;;:5;3828:12;;;3813:40;;;1413:74:1;1503:18;;;1496:34;;;3711:91:0;;-1:-1:-1;3813:5:0;;:14;;1386:18:1;;3813:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3864:5:0;;3879:15;;3864:46;;;;;:5;3879:15;;;3864:46;;;1413:74:1;1503:18;;;1496:34;;;3864:5:0;;;:14;;1386:18:1;;3864:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3921:5:0;;3936:17;;;3921:50;;;;;:5;3936:17;;;3921:50;;;1413:74:1;;;;1503:18;;;1496:34;;;3921:5:0;;;;:14;;1386:18:1;;3921:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3982:5:0;;3997:15;;3982:46;;;;;:5;3997:15;;;3982:46;;;1413:74:1;1503:18;;;1496:34;;;3982:5:0;;;:14;;1386:18:1;;3982:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;4039:5:0;;:46;;;;;4054:10;4039:46;;;1413:74:1;1503:18;;;1496:34;;;4039:5:0;;;;;:14;;1386:18:1;;4039:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3256:837;;;;;;:::o;14:297:1:-;81:6;134:2;122:9;113:7;109:23;105:32;102:2;;;155:6;147;140:22;102:2;192:9;186:16;245:5;238:13;231:21;224:5;221:32;211:2;;272:6;264;257:22;211:2;300:5;92:219;-1:-1:-1;;;92:219:1:o;316:194::-;386:6;439:2;427:9;418:7;414:23;410:32;407:2;;;460:6;452;445:22;407:2;-1:-1:-1;488:16:1;;397:113;-1:-1:-1;397:113:1:o;2073:274::-;2113:1;2139;2129:2;;2174:77;2171:1;2164:88;2275:4;2272:1;2265:15;2303:4;2300:1;2293:15;2129:2;-1:-1:-1;2332:9:1;;2119:228::o;2352:::-;2392:7;2518:1;2450:66;2446:74;2443:1;2440:81;2435:1;2428:9;2421:17;2417:105;2414:2;;;2525:18;;:::i;:::-;-1:-1:-1;2565:9:1;;2404:176::o;2585:125::-;2625:4;2653:1;2650;2647:8;2644:2;;;2658:18;;:::i;:::-;-1:-1:-1;2695:9:1;;2634:76::o;2715:184::-;2767:77;2764:1;2757:88;2864:4;2861:1;2854:15;2888:4;2885:1;2878:15
Swarm Source
ipfs://8812b71edc9a6d83fd4a5dab0db177202d675c181bf2e24e5b19092b37815de1
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.