More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 961 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Claim Rewards | 12528862 | 1136 days ago | IN | 0 ETH | 0.00085048 | ||||
Claim Rewards | 12328551 | 1167 days ago | IN | 0 ETH | 0.00146471 | ||||
Claim Rewards | 12168257 | 1191 days ago | IN | 0 ETH | 0.003509 | ||||
Claim Rewards | 12168070 | 1191 days ago | IN | 0 ETH | 0.00688959 | ||||
Claim Rewards | 12134608 | 1196 days ago | IN | 0 ETH | 0.00387654 | ||||
Claim Rewards | 12066965 | 1207 days ago | IN | 0 ETH | 0.00550408 | ||||
Claim Rewards | 12013206 | 1215 days ago | IN | 0 ETH | 0.00749694 | ||||
Claim Rewards | 12008357 | 1216 days ago | IN | 0 ETH | 0.00555153 | ||||
Claim Rewards | 12004890 | 1216 days ago | IN | 0 ETH | 0.00427041 | ||||
Claim Rewards | 12002280 | 1217 days ago | IN | 0 ETH | 0.00569388 | ||||
Claim Rewards | 12001172 | 1217 days ago | IN | 0 ETH | 0.00944235 | ||||
Claim Rewards | 11980695 | 1220 days ago | IN | 0 ETH | 0.00488724 | ||||
Claim Rewards | 11980676 | 1220 days ago | IN | 0 ETH | 0.00531428 | ||||
Claim Rewards | 11977661 | 1221 days ago | IN | 0 ETH | 0.00247296 | ||||
Claim Rewards | 11977661 | 1221 days ago | IN | 0 ETH | 0.0050628 | ||||
Claim Rewards | 11971664 | 1221 days ago | IN | 0 ETH | 0.00441275 | ||||
Claim Rewards | 11971013 | 1222 days ago | IN | 0 ETH | 0.00187143 | ||||
Claim Rewards | 11968807 | 1222 days ago | IN | 0 ETH | 0.0043653 | ||||
Claim Rewards | 11957471 | 1224 days ago | IN | 0 ETH | 0.00355867 | ||||
Claim Rewards | 11954802 | 1224 days ago | IN | 0 ETH | 0.00493469 | ||||
Claim Rewards | 11954460 | 1224 days ago | IN | 0 ETH | 0.00730653 | ||||
Claim Rewards | 11954052 | 1224 days ago | IN | 0 ETH | 0.00427041 | ||||
Claim Rewards | 11953636 | 1224 days ago | IN | 0 ETH | 0.00358691 | ||||
Claim Rewards | 11953636 | 1224 days ago | IN | 0 ETH | 0.00763928 | ||||
Claim Rewards | 11952681 | 1224 days ago | IN | 0 ETH | 0.00593112 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
12528862 | 1136 days ago | 0 ETH | |||||
12328551 | 1167 days ago | 0 ETH | |||||
12168070 | 1191 days ago | 0 ETH | |||||
12066965 | 1207 days ago | 0 ETH | |||||
12013206 | 1215 days ago | 0 ETH | |||||
12008357 | 1216 days ago | 0 ETH | |||||
12004890 | 1216 days ago | 0 ETH | |||||
12002280 | 1217 days ago | 0 ETH | |||||
12001172 | 1217 days ago | 0 ETH | |||||
11980695 | 1220 days ago | 0 ETH | |||||
11980676 | 1220 days ago | 0 ETH | |||||
11977661 | 1221 days ago | 0 ETH | |||||
11971664 | 1221 days ago | 0 ETH | |||||
11968807 | 1222 days ago | 0 ETH | |||||
11957471 | 1224 days ago | 0 ETH | |||||
11954802 | 1224 days ago | 0 ETH | |||||
11954460 | 1224 days ago | 0 ETH | |||||
11954052 | 1224 days ago | 0 ETH | |||||
11953636 | 1224 days ago | 0 ETH | |||||
11952681 | 1224 days ago | 0 ETH | |||||
11951257 | 1225 days ago | 0 ETH | |||||
11950065 | 1225 days ago | 0 ETH | |||||
11950027 | 1225 days ago | 0 ETH | |||||
11949880 | 1225 days ago | 0 ETH | |||||
11947524 | 1225 days ago | 0 ETH |
Loading...
Loading
Contract Name:
GasGainsDistribution
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-01-29 */ // "SPDX-License-Identifier: MIT" pragma solidity >=0.4.22 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } /** * @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); } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract GasGainsDistribution is Ownable { using SafeMath for uint; IERC20 public GasgainsTokenAddress; address public admin; uint public rewardPool; uint public totalSharedRewards; mapping(address => uint) private rewardsEarned; event _RewardShared( uint indexed timestamp, uint indexed rewards ); event RewardsClaimed(address indexed user, uint timestamp, uint amount); constructor(IERC20 _GasgainsTokenAddress) { GasgainsTokenAddress = _GasgainsTokenAddress; admin = _msgSender(); } function shareReward(address[] memory _accounts, uint[] memory _rewards) public { require(_msgSender() == admin, "GasGainsDistribution: Caller is not the admin"); uint _totalRewards = 0; for(uint i = 0; i < _accounts.length; i++) { address _user = _accounts[i]; require(_user != address(0), "GasGainsDistribution: Zero address found in distribution list"); uint _reward = _rewards[i]; _totalRewards = _totalRewards.add(_reward); rewardsEarned[_user] = rewardsEarned[_user].add(_reward); } GasgainsTokenAddress.transferFrom(_msgSender(), address(this), _totalRewards); rewardPool = rewardPool.add(_totalRewards); totalSharedRewards = totalSharedRewards.add(_totalRewards); emit _RewardShared(block.timestamp, _totalRewards); } function checkRewards(address _user) public view returns(uint) { return rewardsEarned[_user]; } function claimRewards() public { require(rewardsEarned[_msgSender()] > 0, "You have zero rewards to claim"); uint _reward = rewardsEarned[_msgSender()]; rewardsEarned[_msgSender()] = 0; rewardPool = rewardPool.sub(_reward); GasgainsTokenAddress.transfer(_msgSender(), _reward); RewardsClaimed(_msgSender(), block.timestamp, _reward); } receive() external payable { revert("You can not send ether directly to the contract"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_GasgainsTokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"rewards","type":"uint256"}],"name":"_RewardShared","type":"event"},{"inputs":[],"name":"GasgainsTokenAddress","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"checkRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_rewards","type":"uint256[]"}],"name":"shareReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSharedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516112403803806112408339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600061005461018760201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061014161018760201b60201c565b600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061018f565b600033905090565b6110a28061019e6000396000f3fe6080604052600436106100955760003560e01c80638e01bfe7116100595780638e01bfe7146101ef578063ce75058114610348578063f2fde38b14610373578063f851a440146103c4578063fc4bf89114610405576100eb565b8063046ff0d3146100f0578063372500ab1461015557806366666aa91461016c578063715018a6146101975780638da5cb5b146101ae576100eb565b366100eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180610fae602f913960400191505060405180910390fd5b600080fd5b3480156100fc57600080fd5b5061013f6004803603602081101561011357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610446565b6040518082815260200191505060405180910390f35b34801561016157600080fd5b5061016a61048f565b005b34801561017857600080fd5b50610181610733565b6040518082815260200191505060405180910390f35b3480156101a357600080fd5b506101ac610739565b005b3480156101ba57600080fd5b506101c36108a6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101fb57600080fd5b506103466004803603604081101561021257600080fd5b810190808035906020019064010000000081111561022f57600080fd5b82018360208201111561024157600080fd5b8035906020019184602083028401116401000000008311171561026357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156102c357600080fd5b8201836020820111156102d557600080fd5b803590602001918460208302840111640100000000831117156102f757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506108cf565b005b34801561035457600080fd5b5061035d610c56565b6040518082815260200191505060405180910390f35b34801561037f57600080fd5b506103c26004803603602081101561039657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c5c565b005b3480156103d057600080fd5b506103d9610e4e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561041157600080fd5b5061041a610e74565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006005600061049d610e9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161054b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f596f752068617665207a65726f207265776172647320746f20636c61696d000081525060200191505060405180910390fd5b600060056000610559610e9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600560006105a4610e9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506105f781600354610ea290919063ffffffff16565b600381905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610643610e9a565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561069757600080fd5b505af11580156106ab573d6000803e3d6000fd5b505050506040513d60208110156106c157600080fd5b8101908080519060200190929190505050506106db610e9a565b73ffffffffffffffffffffffffffffffffffffffff167fdacbdde355ba930696a362ea6738feb9f8bd52dfb3d81947558fd3217e23e3254283604051808381526020018281526020019250505060405180910390a250565b60035481565b610741610e9a565b73ffffffffffffffffffffffffffffffffffffffff1661075f6108a6565b73ffffffffffffffffffffffffffffffffffffffff16146107e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610910610e9a565b73ffffffffffffffffffffffffffffffffffffffff161461097c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180610fdd602d913960400191505060405180910390fd5b6000805b8351811015610af857600084828151811061099757fe5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180611030603d913960400191505060405180910390fd5b6000848381518110610a3557fe5b60200260200101519050610a528185610f2590919063ffffffff16565b9350610aa681600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f2590919063ffffffff16565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050508080600101915050610980565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610b3f610e9a565b30846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610bb157600080fd5b505af1158015610bc5573d6000803e3d6000fd5b505050506040513d6020811015610bdb57600080fd5b810190808051906020019092919050505050610c0281600354610f2590919063ffffffff16565b600381905550610c1d81600454610f2590919063ffffffff16565b60048190555080427fe403a3279aa4b132750749c075363356048a88f2ecd577989ec504ea9095ed3160405160405180910390a3505050565b60045481565b610c64610e9a565b73ffffffffffffffffffffffffffffffffffffffff16610c826108a6565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061100a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600082821115610f1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015610fa3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b809150509291505056fe596f752063616e206e6f742073656e64206574686572206469726563746c7920746f2074686520636f6e74726163744761734761696e73446973747269627574696f6e3a2043616c6c6572206973206e6f74207468652061646d696e4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734761734761696e73446973747269627574696f6e3a205a65726f206164647265737320666f756e6420696e20646973747269627574696f6e206c697374a2646970667358221220895b65f71ad424938e3c2b01c4be26fb266f98e9eaee5b66c255a9cae49e781a64736f6c63430007040033000000000000000000000000c58467b855401ef3ff8fda9216f236e29f0d6277
Deployed Bytecode
0x6080604052600436106100955760003560e01c80638e01bfe7116100595780638e01bfe7146101ef578063ce75058114610348578063f2fde38b14610373578063f851a440146103c4578063fc4bf89114610405576100eb565b8063046ff0d3146100f0578063372500ab1461015557806366666aa91461016c578063715018a6146101975780638da5cb5b146101ae576100eb565b366100eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180610fae602f913960400191505060405180910390fd5b600080fd5b3480156100fc57600080fd5b5061013f6004803603602081101561011357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610446565b6040518082815260200191505060405180910390f35b34801561016157600080fd5b5061016a61048f565b005b34801561017857600080fd5b50610181610733565b6040518082815260200191505060405180910390f35b3480156101a357600080fd5b506101ac610739565b005b3480156101ba57600080fd5b506101c36108a6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101fb57600080fd5b506103466004803603604081101561021257600080fd5b810190808035906020019064010000000081111561022f57600080fd5b82018360208201111561024157600080fd5b8035906020019184602083028401116401000000008311171561026357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156102c357600080fd5b8201836020820111156102d557600080fd5b803590602001918460208302840111640100000000831117156102f757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506108cf565b005b34801561035457600080fd5b5061035d610c56565b6040518082815260200191505060405180910390f35b34801561037f57600080fd5b506103c26004803603602081101561039657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c5c565b005b3480156103d057600080fd5b506103d9610e4e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561041157600080fd5b5061041a610e74565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006005600061049d610e9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161054b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f596f752068617665207a65726f207265776172647320746f20636c61696d000081525060200191505060405180910390fd5b600060056000610559610e9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600560006105a4610e9a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506105f781600354610ea290919063ffffffff16565b600381905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610643610e9a565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561069757600080fd5b505af11580156106ab573d6000803e3d6000fd5b505050506040513d60208110156106c157600080fd5b8101908080519060200190929190505050506106db610e9a565b73ffffffffffffffffffffffffffffffffffffffff167fdacbdde355ba930696a362ea6738feb9f8bd52dfb3d81947558fd3217e23e3254283604051808381526020018281526020019250505060405180910390a250565b60035481565b610741610e9a565b73ffffffffffffffffffffffffffffffffffffffff1661075f6108a6565b73ffffffffffffffffffffffffffffffffffffffff16146107e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610910610e9a565b73ffffffffffffffffffffffffffffffffffffffff161461097c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180610fdd602d913960400191505060405180910390fd5b6000805b8351811015610af857600084828151811061099757fe5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180611030603d913960400191505060405180910390fd5b6000848381518110610a3557fe5b60200260200101519050610a528185610f2590919063ffffffff16565b9350610aa681600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f2590919063ffffffff16565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050508080600101915050610980565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610b3f610e9a565b30846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610bb157600080fd5b505af1158015610bc5573d6000803e3d6000fd5b505050506040513d6020811015610bdb57600080fd5b810190808051906020019092919050505050610c0281600354610f2590919063ffffffff16565b600381905550610c1d81600454610f2590919063ffffffff16565b60048190555080427fe403a3279aa4b132750749c075363356048a88f2ecd577989ec504ea9095ed3160405160405180910390a3505050565b60045481565b610c64610e9a565b73ffffffffffffffffffffffffffffffffffffffff16610c826108a6565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061100a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b600082821115610f1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015610fa3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b809150509291505056fe596f752063616e206e6f742073656e64206574686572206469726563746c7920746f2074686520636f6e74726163744761734761696e73446973747269627574696f6e3a2043616c6c6572206973206e6f74207468652061646d696e4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734761734761696e73446973747269627574696f6e3a205a65726f206164647265737320666f756e6420696e20646973747269627574696f6e206c697374a2646970667358221220895b65f71ad424938e3c2b01c4be26fb266f98e9eaee5b66c255a9cae49e781a64736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c58467b855401ef3ff8fda9216f236e29f0d6277
-----Decoded View---------------
Arg [0] : _GasgainsTokenAddress (address): 0xc58467b855401EF3FF8FdA9216F236e29f0d6277
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c58467b855401ef3ff8fda9216f236e29f0d6277
Deployed Bytecode Sourcemap
13067:2170:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15169:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13067:2170;;;;14578:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14699:414;;;;;;;;;;;;;:::i;:::-;;13213:22;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12511:148;;;;;;;;;;;;;:::i;:::-;;11860:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13663:903;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13242:30;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12814:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;13186:20;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13145:34;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;14578:109;14635:4;14659:13;:20;14673:5;14659:20;;;;;;;;;;;;;;;;14652:27;;14578:109;;;:::o;14699:414::-;14779:1;14749:13;:27;14763:12;:10;:12::i;:::-;14749:27;;;;;;;;;;;;;;;;:31;14741:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14836:12;14851:13;:27;14865:12;:10;:12::i;:::-;14851:27;;;;;;;;;;;;;;;;14836:42;;14919:1;14889:13;:27;14903:12;:10;:12::i;:::-;14889:27;;;;;;;;;;;;;;;:31;;;;14954:23;14969:7;14954:10;;:14;;:23;;;;:::i;:::-;14941:10;:36;;;;14988:20;;;;;;;;;;;:29;;;15018:12;:10;:12::i;:::-;15032:7;14988:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15066:12;:10;:12::i;:::-;15051:54;;;15080:15;15097:7;15051:54;;;;;;;;;;;;;;;;;;;;;;;;14699:414;:::o;13213:22::-;;;;:::o;12511:148::-;12091:12;:10;:12::i;:::-;12080:23;;:7;:5;:7::i;:::-;:23;;;12072:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12618:1:::1;12581:40;;12602:6;::::0;::::1;;;;;;;;12581:40;;;;;;;;;;;;12649:1;12632:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;12511:148::o:0;11860:87::-;11906:7;11933:6;;;;;;;;;;;11926:13;;11860:87;:::o;13663:903::-;13778:5;;;;;;;;;;;13762:21;;:12;:10;:12::i;:::-;:21;;;13754:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13844:18;13883:6;13879:389;13899:9;:16;13895:1;:20;13879:389;;;13937:13;13953:9;13963:1;13953:12;;;;;;;;;;;;;;13937:28;;14005:1;13988:19;;:5;:19;;;;13980:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14102:12;14117:8;14126:1;14117:11;;;;;;;;;;;;;;14102:26;;14159;14177:7;14159:13;:17;;:26;;;;:::i;:::-;14143:42;;14223:33;14248:7;14223:13;:20;14237:5;14223:20;;;;;;;;;;;;;;;;:24;;:33;;;;:::i;:::-;14200:13;:20;14214:5;14200:20;;;;;;;;;;;;;;;:56;;;;13879:389;;13917:3;;;;;;;13879:389;;;;14288:20;;;;;;;;;;;:33;;;14322:12;:10;:12::i;:::-;14344:4;14351:13;14288:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14389:29;14404:13;14389:10;;:14;;:29;;;;:::i;:::-;14376:10;:42;;;;14450:37;14473:13;14450:18;;:22;;:37;;;;:::i;:::-;14429:18;:58;;;;14544:13;14527:15;14513:45;;;;;;;;;;13663:903;;;:::o;13242:30::-;;;;:::o;12814:244::-;12091:12;:10;:12::i;:::-;12080:23;;:7;:5;:7::i;:::-;:23;;;12072:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12923:1:::1;12903:22;;:8;:22;;;;12895:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13013:8;12984:38;;13005:6;::::0;::::1;;;;;;;;12984:38;;;;;;;;;;;;13042:8;13033:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;12814:244:::0;:::o;13186:20::-;;;;;;;;;;;;;:::o;13145:34::-;;;;;;;;;;;;;:::o;10498:106::-;10551:15;10586:10;10579:17;;10498:106;:::o;3037:158::-;3095:7;3128:1;3123;:6;;3115:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3186:1;3182;:5;3175:12;;3037:158;;;;:::o;2575:179::-;2633:7;2653:9;2669:1;2665;:5;2653:17;;2694:1;2689;:6;;2681:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2745:1;2738:8;;;2575:179;;;;:::o
Swarm Source
ipfs://895b65f71ad424938e3c2b01c4be26fb266f98e9eaee5b66c255a9cae49e781a
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.