Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 178 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Draw Dividend | 14525762 | 1051 days ago | IN | 0 ETH | 0.00273891 | ||||
Claim | 14523817 | 1051 days ago | IN | 0.11 ETH | 0.02731923 | ||||
Claim | 14522514 | 1051 days ago | IN | 0.5 ETH | 0.02724244 | ||||
Claim | 14520835 | 1052 days ago | IN | 1 ETH | 0.02111935 | ||||
Claim | 14520820 | 1052 days ago | IN | 1 ETH | 0.02414314 | ||||
Claim | 14520809 | 1052 days ago | IN | 1 ETH | 0.02801251 | ||||
Claim | 14520783 | 1052 days ago | IN | 1 ETH | 0.02332481 | ||||
Claim | 14520680 | 1052 days ago | IN | 1 ETH | 0.03057089 | ||||
Claim | 14520615 | 1052 days ago | IN | 1 ETH | 0.03323059 | ||||
Claim | 14520600 | 1052 days ago | IN | 1 ETH | 0.03355288 | ||||
Claim | 14520584 | 1052 days ago | IN | 1 ETH | 0.04385236 | ||||
Claim | 14520575 | 1052 days ago | IN | 1 ETH | 0.04341545 | ||||
Claim | 14520563 | 1052 days ago | IN | 1 ETH | 0.0512946 | ||||
Claim | 14520555 | 1052 days ago | IN | 1 ETH | 0.03353509 | ||||
Claim | 14520528 | 1052 days ago | IN | 1 ETH | 0.03842304 | ||||
Claim | 14520518 | 1052 days ago | IN | 1 ETH | 0.03869325 | ||||
Claim | 14520510 | 1052 days ago | IN | 1 ETH | 0.03510267 | ||||
Claim | 14520493 | 1052 days ago | IN | 1 ETH | 0.03403907 | ||||
Claim | 14520471 | 1052 days ago | IN | 1 ETH | 0.03175097 | ||||
Claim | 14520300 | 1052 days ago | IN | 1 ETH | 0.04638067 | ||||
Claim | 14520248 | 1052 days ago | IN | 1 ETH | 0.04751379 | ||||
Claim | 14520000 | 1052 days ago | IN | 1 ETH | 0.02341371 | ||||
Claim | 14519929 | 1052 days ago | IN | 1 ETH | 0.02958175 | ||||
Claim | 14519895 | 1052 days ago | IN | 0.28 ETH | 0.03352969 | ||||
Claim | 14519889 | 1052 days ago | IN | 0.92 ETH | 0.0318548 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BendCompetitionMainnet
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.8.0; import {BendCompetition} from "./BendCompetition.sol"; contract BendCompetitionMainnet is BendCompetition { function getConfig() public pure override returns (Config memory config) { config.TREASURY_ADDRESS = address( 0x472FcC65Fab565f75B1e0E861864A86FE5bcEd7B ); config.BEND_TOKEN_ADDRESS = address( 0x0d02755a5700414B26FF040e1dE35D337DF56218 ); config.TEAM_WALLET_ADDRESS = address( 0x4D62360CEcF722A7888b1f97D4c7e8b170071248 ); config.AUTO_DRAW_DIVIDEND_THRESHOLD = 100 * 10**18; config.BEND_TOKEN_REWARD_PER_ETH = 333333 * 10**18; config.MAX_ETH_PAYMENT_PER_ADDR = 1 * 10**18; config.VEBEND_ADDRESS = address( 0xd7e97172C2419566839Bf80DeeA46D22B1B2E06E ); config.VEBEND_LOCK_MIN_WEEK = 2; return config; } }
// SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.8.0; import {ICryptoPunks} from "../interfaces/ICryptoPunks.sol"; import {IWETHGateway} from "../interfaces/IWETHGateway.sol"; import {IVeBend} from "../interfaces/IVeBend.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721Enumerable} from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol"; abstract contract BendCompetition is Ownable, ReentrancyGuard, Pausable { enum Stage { Prepare, Sale, Finish } struct Config { address TREASURY_ADDRESS; address BEND_TOKEN_ADDRESS; address TEAM_WALLET_ADDRESS; address VEBEND_ADDRESS; uint256 VEBEND_LOCK_MIN_WEEK; uint256 AUTO_DRAW_DIVIDEND_THRESHOLD; uint256 BEND_TOKEN_REWARD_PER_ETH; uint256 MAX_ETH_PAYMENT_PER_ADDR; } struct UIData { // for all uint256 remainDivident; uint256 bendClaimedTotal; uint256 bendPrice; uint256 bendTokenRewardPerETH; uint256 remainBendBalance; uint256 veBendLockMinWeek; uint256 veBendCurrentLockStartTimestamp; Stage stage; // for current address uint256 bendBalance; uint256 veBendBalance; int256 veBendLockedBalanceAmount; uint256 veBendLockedBalanceEnd; uint256 maxETHPayment; uint256 maxBendReward; } uint256 public immutable CONTRACT_CREATE_TIMESTAMP; mapping(address => uint256) public ethPaymentRecord; uint256 public ethPaymentTotal; uint256 public bendClaimedTotal; uint256 public remainDivident; event Claimed( address indexed owner, uint256 ethPayment, uint256 bendReward ); event DrawDividend( address indexed operator, address indexed beneficiary, uint256 amount ); constructor() { CONTRACT_CREATE_TIMESTAMP = block.timestamp; } function getConfig() public view virtual returns (Config memory config) {} function claim(uint256 lockWeek) external payable whenNotPaused nonReentrant { Config memory CONFIG = getConfig(); require(stage() == Stage.Sale, "not in sale"); require(lockWeek >= CONFIG.VEBEND_LOCK_MIN_WEEK, "lock week too short"); (uint256 ethPayment, uint256 bendReward) = _getClaimData(msg.value); require(bendReward > 0, "not enough bend reward"); ethPaymentRecord[msg.sender] += ethPayment; ethPaymentTotal += ethPayment; remainDivident += ethPayment; bendClaimedTotal += bendReward; IERC20(CONFIG.BEND_TOKEN_ADDRESS).approve( CONFIG.VEBEND_ADDRESS, bendReward ); IVeBend.LockedBalance memory locked = IVeBend(CONFIG.VEBEND_ADDRESS) .getLocked(msg.sender); if (locked.amount > 0) { IVeBend(CONFIG.VEBEND_ADDRESS).increaseAmountFor( msg.sender, bendReward ); } else { IVeBend(CONFIG.VEBEND_ADDRESS).createLockFor( msg.sender, bendReward, ((block.timestamp / 604800) + lockWeek) * 604800 ); } uint256 ethRemain = msg.value - ethPayment; if (ethRemain > 0) { _safeTransferETH(msg.sender, ethRemain); } if (remainDivident >= CONFIG.AUTO_DRAW_DIVIDEND_THRESHOLD) { drawDividend(); } emit Claimed(msg.sender, ethPayment, bendReward); } function drawDividend() public { Config memory CONFIG = getConfig(); if (CONFIG.TEAM_WALLET_ADDRESS == address(0)) { return; } uint256 amount = remainDivident; remainDivident = 0; _safeTransferETH(CONFIG.TEAM_WALLET_ADDRESS, amount); emit DrawDividend(msg.sender, CONFIG.TEAM_WALLET_ADDRESS, amount); } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function emergencyTokenTransfer(address token, uint256 amount) external onlyOwner { Config memory CONFIG = getConfig(); IERC20(token).transfer(CONFIG.TREASURY_ADDRESS, amount); } function emergencyEtherTransfer(uint256 amount) external onlyOwner { Config memory CONFIG = getConfig(); _safeTransferETH(CONFIG.TREASURY_ADDRESS, amount); } function uiData() external view returns (UIData memory data) { Config memory CONFIG = getConfig(); data.remainDivident = remainDivident; data.bendClaimedTotal = bendClaimedTotal; data.bendPrice = ((1 * 10**18 * 10**18) / CONFIG.BEND_TOKEN_REWARD_PER_ETH); data.bendTokenRewardPerETH = CONFIG.BEND_TOKEN_REWARD_PER_ETH; data.remainBendBalance = IERC20(CONFIG.BEND_TOKEN_ADDRESS).balanceOf( address(this) ); data.veBendLockMinWeek = CONFIG.VEBEND_LOCK_MIN_WEEK; data.veBendCurrentLockStartTimestamp = ((block.timestamp / 604800) * 604800); data.stage = stage(); if (msg.sender == address(0)) { return data; } data.bendBalance = IERC20(CONFIG.BEND_TOKEN_ADDRESS).balanceOf( msg.sender ); data.veBendBalance = IERC20(CONFIG.VEBEND_ADDRESS).balanceOf( msg.sender ); IVeBend.LockedBalance memory locked = IVeBend(CONFIG.VEBEND_ADDRESS) .getLocked(msg.sender); data.veBendLockedBalanceAmount = locked.amount; data.veBendLockedBalanceEnd = locked.end; (data.maxETHPayment, data.maxBendReward) = _getClaimData( type(uint256).max ); return data; } function stage() public view returns (Stage) { if (block.timestamp < CONTRACT_CREATE_TIMESTAMP) { return Stage.Prepare; } if (block.timestamp >= CONTRACT_CREATE_TIMESTAMP + 90 days) { return Stage.Finish; } return Stage.Sale; } function _getClaimData(uint256 ethBalance) internal view returns (uint256 ethPayment, uint256 bendReward) { if (msg.sender == address(0)) { return (0, 0); } Config memory CONFIG = getConfig(); uint256 bendBalance = IERC20(CONFIG.BEND_TOKEN_ADDRESS).balanceOf( address(this) ); if (bendBalance <= 0) { return (ethPayment, bendReward); } ethPayment = CONFIG.MAX_ETH_PAYMENT_PER_ADDR - ethPaymentRecord[msg.sender]; if (ethPayment > ethBalance) { ethPayment = ethBalance; } bendReward = (ethPayment * CONFIG.BEND_TOKEN_REWARD_PER_ETH) / 10**18; if (bendReward > bendBalance) { bendReward = bendBalance; ethPayment = (bendReward * 10**18) / CONFIG.BEND_TOKEN_REWARD_PER_ETH; } return (ethPayment, bendReward); } function _safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, "ETH_TRANSFER_FAILED"); } }
// SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.8.0; interface ICryptoPunks { function punkIndexToAddress(uint256 punkIndex) external view returns (address owner); }
// SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.8.0; interface IWETHGateway { function depositETH(address onBehalfOf, uint16 referralCode) external payable; }
// SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.8.0; interface IVeBend { struct Point { int256 bias; int256 slope; uint256 ts; uint256 blk; } struct LockedBalance { int256 amount; uint256 end; } function createLockFor( address _beneficiary, uint256 _value, uint256 _unlockTime ) external; function increaseAmountFor(address _beneficiary, uint256 _value) external; function getLocked(address _addr) external view returns (LockedBalance memory); function balanceOf(address _addr) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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() { _transferOwnership(_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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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 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) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethPayment","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bendReward","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DrawDividend","type":"event"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CONTRACT_CREATE_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bendClaimedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockWeek","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"drawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyEtherTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyTokenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ethPaymentRecord","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethPaymentTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getConfig","outputs":[{"components":[{"internalType":"address","name":"TREASURY_ADDRESS","type":"address"},{"internalType":"address","name":"BEND_TOKEN_ADDRESS","type":"address"},{"internalType":"address","name":"TEAM_WALLET_ADDRESS","type":"address"},{"internalType":"address","name":"VEBEND_ADDRESS","type":"address"},{"internalType":"uint256","name":"VEBEND_LOCK_MIN_WEEK","type":"uint256"},{"internalType":"uint256","name":"AUTO_DRAW_DIVIDEND_THRESHOLD","type":"uint256"},{"internalType":"uint256","name":"BEND_TOKEN_REWARD_PER_ETH","type":"uint256"},{"internalType":"uint256","name":"MAX_ETH_PAYMENT_PER_ADDR","type":"uint256"}],"internalType":"struct BendCompetition.Config","name":"config","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainDivident","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stage","outputs":[{"internalType":"enum BendCompetition.Stage","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uiData","outputs":[{"components":[{"internalType":"uint256","name":"remainDivident","type":"uint256"},{"internalType":"uint256","name":"bendClaimedTotal","type":"uint256"},{"internalType":"uint256","name":"bendPrice","type":"uint256"},{"internalType":"uint256","name":"bendTokenRewardPerETH","type":"uint256"},{"internalType":"uint256","name":"remainBendBalance","type":"uint256"},{"internalType":"uint256","name":"veBendLockMinWeek","type":"uint256"},{"internalType":"uint256","name":"veBendCurrentLockStartTimestamp","type":"uint256"},{"internalType":"enum BendCompetition.Stage","name":"stage","type":"uint8"},{"internalType":"uint256","name":"bendBalance","type":"uint256"},{"internalType":"uint256","name":"veBendBalance","type":"uint256"},{"internalType":"int256","name":"veBendLockedBalanceAmount","type":"int256"},{"internalType":"uint256","name":"veBendLockedBalanceEnd","type":"uint256"},{"internalType":"uint256","name":"maxETHPayment","type":"uint256"},{"internalType":"uint256","name":"maxBendReward","type":"uint256"}],"internalType":"struct BendCompetition.UIData","name":"data","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801561001057600080fd5b5061001a33610031565b600180556002805460ff1916905542608052610081565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805161164b6100aa6000396000818161031501528181610cd30152610d04015261164b6000f3fe6080604052600436106101095760003560e01c80638da5cb5b11610095578063cc7b1ddf11610064578063cc7b1ddf14610303578063d1d55d0b14610337578063d5f4abf514610357578063ee0e07781461036d578063f2fde38b1461038257600080fd5b80638da5cb5b14610206578063c040e6b81461022e578063c3f909d414610250578063caa1a5fc146102d657600080fd5b806343506b44116100dc57806343506b441461017757806352542ae5146101995780635c975abb146101b9578063715018a6146101dc5780638456cb59146101f157600080fd5b806315351e4f1461010e5780632a7d58ba14610137578063379607f51461014d5780633f4ba83a14610162575b600080fd5b34801561011a57600080fd5b5061012460045481565b6040519081526020015b60405180910390f35b34801561014357600080fd5b5061012460065481565b61016061015b366004611418565b6103a2565b005b34801561016e57600080fd5b50610160610866565b34801561018357600080fd5b5061018c61089a565b60405161012e91906114ec565b3480156101a557600080fd5b506101606101b4366004611375565b610ba8565b3480156101c557600080fd5b5060025460ff16604051901515815260200161012e565b3480156101e857600080fd5b50610160610c69565b3480156101fd57600080fd5b50610160610c9d565b34801561021257600080fd5b506000546040516001600160a01b03909116815260200161012e565b34801561023a57600080fd5b50610243610ccf565b60405161012e91906114a3565b34801561025c57600080fd5b50610265610d3e565b60405161012e919060006101008201905060018060a01b03808451168352806020850151166020840152806040850151166040840152806060850151166060840152506080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b3480156102e257600080fd5b506101246102f1366004611354565b60036020526000908152604090205481565b34801561030f57600080fd5b506101247f000000000000000000000000000000000000000000000000000000000000000081565b34801561034357600080fd5b50610160610352366004611418565b610de7565b34801561036357600080fd5b5061012460055481565b34801561037957600080fd5b50610160610e2f565b34801561038e57600080fd5b5061016061039d366004611354565b610ebe565b60025460ff16156103ed5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064015b60405180910390fd5b600260015414156104405760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103e4565b6002600155600061044f610d3e565b9050600161045b610ccf565b600281111561047a57634e487b7160e01b600052602160045260246000fd5b146104b55760405162461bcd60e51b815260206004820152600b60248201526a6e6f7420696e2073616c6560a81b60448201526064016103e4565b80608001518210156104ff5760405162461bcd60e51b81526020600482015260136024820152721b1bd8dac81dd9595ac81d1bdbc81cda1bdc9d606a1b60448201526064016103e4565b60008061050b34610f59565b91509150600081116105585760405162461bcd60e51b81526020600482015260166024820152751b9bdd08195b9bdd59da0818995b99081c995dd85c9960521b60448201526064016103e4565b3360009081526003602052604081208054849290610577908490611591565b9250508190555081600460008282546105909190611591565b9250508190555081600660008282546105a99190611591565b9250508190555080600560008282546105c29190611591565b90915550506020830151606084015160405163095ea7b360e01b81526001600160a01b0391821660048201526024810184905291169063095ea7b390604401602060405180830381600087803b15801561061b57600080fd5b505af115801561062f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610653919061139e565b50606083015160405163bc22fd1b60e01b81523360048201526000916001600160a01b03169063bc22fd1b90602401604080518083038186803b15801561069957600080fd5b505afa1580156106ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d191906113be565b905060008160000151131561074b57606084015160405163ca2f8d9360e01b8152336004820152602481018490526001600160a01b039091169063ca2f8d9390604401600060405180830381600087803b15801561072e57600080fd5b505af1158015610742573d6000803e3d6000fd5b505050506107ec565b60608401516001600160a01b03166329b55ca733848861076e62093a80426115a9565b6107789190611591565b6107859062093a806115c9565b6040516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091526044820152606401600060405180830381600087803b1580156107d357600080fd5b505af11580156107e7573d6000803e3d6000fd5b505050505b60006107f884346115e8565b9050801561080a5761080a3382611094565b8460a001516006541061081f5761081f610e2f565b604080518581526020810185905233917f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a910160405180910390a250506001805550505050565b6000546001600160a01b031633146108905760405162461bcd60e51b81526004016103e4906114b7565b61089861114c565b565b6108a26112aa565b60006108ac610d3e565b6006548352600554602084015260c08101519091506108da906ec097ce7bc90715b34b9f10000000006115a9565b60408381019190915260c08201516060840152602082015190516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561093157600080fd5b505afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190611430565b60808084019190915281015160a083015261098762093a80426115a9565b6109949062093a806115c9565b60c08301526109a1610ccf565b8260e0019060028111156109c557634e487b7160e01b600052602160045260246000fd5b908160028111156109e657634e487b7160e01b600052602160045260246000fd5b905250336109f2575090565b60208101516040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6f9190611430565b61010083015260608101516040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610aba57600080fd5b505afa158015610ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af29190611430565b610120830152606081015160405163bc22fd1b60e01b81523360048201526000916001600160a01b03169063bc22fd1b90602401604080518083038186803b158015610b3d57600080fd5b505afa158015610b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906113be565b805161014085015260208101516101608501529050610b95600019610f59565b6101a08501526101808401525090919050565b6000546001600160a01b03163314610bd25760405162461bcd60e51b81526004016103e4906114b7565b6000610bdc610d3e565b805160405163a9059cbb60e01b81526001600160a01b0391821660048201526024810185905291925084169063a9059cbb90604401602060405180830381600087803b158015610c2b57600080fd5b505af1158015610c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c63919061139e565b50505050565b6000546001600160a01b03163314610c935760405162461bcd60e51b81526004016103e4906114b7565b61089860006111df565b6000546001600160a01b03163314610cc75760405162461bcd60e51b81526004016103e4906114b7565b61089861122f565b60007f0000000000000000000000000000000000000000000000000000000000000000421015610cff5750600090565b610d2c7f00000000000000000000000000000000000000000000000000000000000000006276a700611591565b4210610d385750600290565b50600190565b604080516101008101825273472fcc65fab565f75b1e0e861864a86fe5bced7b8152730d02755a5700414b26ff040e1de35d337df562186020820152734d62360cecf722a7888b1f97d4c7e8b1700712489181019190915268056bc75e2d6310000060a082015269469604a4b2135334000060c0820152670de0b6b3a764000060e082015273d7e97172c2419566839bf80deea46d22b1b2e06e60608201526002608082015290565b6000546001600160a01b03163314610e115760405162461bcd60e51b81526004016103e4906114b7565b6000610e1b610d3e565b9050610e2b816000015183611094565b5050565b6000610e39610d3e565b60408101519091506001600160a01b0316610e515750565b6006805460009091556040820151610e699082611094565b81604001516001600160a01b0316336001600160a01b03167f31ffe4a051a517047fe0615dbc4f0d2db813d5c122799ed5aed8e2839c7b9d7883604051610eb291815260200190565b60405180910390a35050565b6000546001600160a01b03163314610ee85760405162461bcd60e51b81526004016103e4906114b7565b6001600160a01b038116610f4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103e4565b610f56816111df565b50565b60008033610f6c57506000928392509050565b6000610f76610d3e565b60208101516040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a082319060240160206040518083038186803b158015610fc157600080fd5b505afa158015610fd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff99190611430565b90506000811161100a575050915091565b3360009081526003602052604090205460e083015161102991906115e8565b935084841115611037578493505b670de0b6b3a76400008260c001518561105091906115c9565b61105a91906115a9565b92508083111561108d578092508160c0015183670de0b6b3a764000061108091906115c9565b61108a91906115a9565b93505b5050915091565b604080516000808252602082019092526001600160a01b0384169083906040516110be919061146a565b60006040518083038185875af1925050503d80600081146110fb576040519150601f19603f3d011682016040523d82523d6000602084013e611100565b606091505b50509050806111475760405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b60448201526064016103e4565b505050565b60025460ff166111955760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016103e4565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff16156112755760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016103e4565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111c23390565b604051806101c00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000600281111561130857634e487b7160e01b600052602160045260246000fd5b81526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b80356001600160a01b038116811461134f57600080fd5b919050565b600060208284031215611365578081fd5b61136e82611338565b9392505050565b60008060408385031215611387578081fd5b61139083611338565b946020939093013593505050565b6000602082840312156113af578081fd5b8151801515811461136e578182fd5b6000604082840312156113cf578081fd5b6040516040810181811067ffffffffffffffff821117156113fe57634e487b7160e01b83526041600452602483fd5b604052825181526020928301519281019290925250919050565b600060208284031215611429578081fd5b5035919050565b600060208284031215611441578081fd5b5051919050565b6003811061146657634e487b7160e01b600052602160045260246000fd5b9052565b60008251815b8181101561148a5760208186018101518583015201611470565b818111156114985782828501525b509190910192915050565b602081016114b18284611448565b92915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006101c082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015161154760e0840182611448565b50610100838101519083015261012080840151908301526101408084015190830152610160808401519083015261018080840151908301526101a092830151929091019190915290565b600082198211156115a4576115a46115ff565b500190565b6000826115c457634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156115e3576115e36115ff565b500290565b6000828210156115fa576115fa6115ff565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122052e2d208c20d3a0239011d8d01297627d00ed436dd344227b6c73c5b7fcb03e864736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101095760003560e01c80638da5cb5b11610095578063cc7b1ddf11610064578063cc7b1ddf14610303578063d1d55d0b14610337578063d5f4abf514610357578063ee0e07781461036d578063f2fde38b1461038257600080fd5b80638da5cb5b14610206578063c040e6b81461022e578063c3f909d414610250578063caa1a5fc146102d657600080fd5b806343506b44116100dc57806343506b441461017757806352542ae5146101995780635c975abb146101b9578063715018a6146101dc5780638456cb59146101f157600080fd5b806315351e4f1461010e5780632a7d58ba14610137578063379607f51461014d5780633f4ba83a14610162575b600080fd5b34801561011a57600080fd5b5061012460045481565b6040519081526020015b60405180910390f35b34801561014357600080fd5b5061012460065481565b61016061015b366004611418565b6103a2565b005b34801561016e57600080fd5b50610160610866565b34801561018357600080fd5b5061018c61089a565b60405161012e91906114ec565b3480156101a557600080fd5b506101606101b4366004611375565b610ba8565b3480156101c557600080fd5b5060025460ff16604051901515815260200161012e565b3480156101e857600080fd5b50610160610c69565b3480156101fd57600080fd5b50610160610c9d565b34801561021257600080fd5b506000546040516001600160a01b03909116815260200161012e565b34801561023a57600080fd5b50610243610ccf565b60405161012e91906114a3565b34801561025c57600080fd5b50610265610d3e565b60405161012e919060006101008201905060018060a01b03808451168352806020850151166020840152806040850151166040840152806060850151166060840152506080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b3480156102e257600080fd5b506101246102f1366004611354565b60036020526000908152604090205481565b34801561030f57600080fd5b506101247f0000000000000000000000000000000000000000000000000000000062375cdf81565b34801561034357600080fd5b50610160610352366004611418565b610de7565b34801561036357600080fd5b5061012460055481565b34801561037957600080fd5b50610160610e2f565b34801561038e57600080fd5b5061016061039d366004611354565b610ebe565b60025460ff16156103ed5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064015b60405180910390fd5b600260015414156104405760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103e4565b6002600155600061044f610d3e565b9050600161045b610ccf565b600281111561047a57634e487b7160e01b600052602160045260246000fd5b146104b55760405162461bcd60e51b815260206004820152600b60248201526a6e6f7420696e2073616c6560a81b60448201526064016103e4565b80608001518210156104ff5760405162461bcd60e51b81526020600482015260136024820152721b1bd8dac81dd9595ac81d1bdbc81cda1bdc9d606a1b60448201526064016103e4565b60008061050b34610f59565b91509150600081116105585760405162461bcd60e51b81526020600482015260166024820152751b9bdd08195b9bdd59da0818995b99081c995dd85c9960521b60448201526064016103e4565b3360009081526003602052604081208054849290610577908490611591565b9250508190555081600460008282546105909190611591565b9250508190555081600660008282546105a99190611591565b9250508190555080600560008282546105c29190611591565b90915550506020830151606084015160405163095ea7b360e01b81526001600160a01b0391821660048201526024810184905291169063095ea7b390604401602060405180830381600087803b15801561061b57600080fd5b505af115801561062f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610653919061139e565b50606083015160405163bc22fd1b60e01b81523360048201526000916001600160a01b03169063bc22fd1b90602401604080518083038186803b15801561069957600080fd5b505afa1580156106ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d191906113be565b905060008160000151131561074b57606084015160405163ca2f8d9360e01b8152336004820152602481018490526001600160a01b039091169063ca2f8d9390604401600060405180830381600087803b15801561072e57600080fd5b505af1158015610742573d6000803e3d6000fd5b505050506107ec565b60608401516001600160a01b03166329b55ca733848861076e62093a80426115a9565b6107789190611591565b6107859062093a806115c9565b6040516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091526044820152606401600060405180830381600087803b1580156107d357600080fd5b505af11580156107e7573d6000803e3d6000fd5b505050505b60006107f884346115e8565b9050801561080a5761080a3382611094565b8460a001516006541061081f5761081f610e2f565b604080518581526020810185905233917f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a910160405180910390a250506001805550505050565b6000546001600160a01b031633146108905760405162461bcd60e51b81526004016103e4906114b7565b61089861114c565b565b6108a26112aa565b60006108ac610d3e565b6006548352600554602084015260c08101519091506108da906ec097ce7bc90715b34b9f10000000006115a9565b60408381019190915260c08201516060840152602082015190516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561093157600080fd5b505afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109699190611430565b60808084019190915281015160a083015261098762093a80426115a9565b6109949062093a806115c9565b60c08301526109a1610ccf565b8260e0019060028111156109c557634e487b7160e01b600052602160045260246000fd5b908160028111156109e657634e487b7160e01b600052602160045260246000fd5b905250336109f2575090565b60208101516040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610a3757600080fd5b505afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6f9190611430565b61010083015260608101516040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610aba57600080fd5b505afa158015610ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af29190611430565b610120830152606081015160405163bc22fd1b60e01b81523360048201526000916001600160a01b03169063bc22fd1b90602401604080518083038186803b158015610b3d57600080fd5b505afa158015610b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906113be565b805161014085015260208101516101608501529050610b95600019610f59565b6101a08501526101808401525090919050565b6000546001600160a01b03163314610bd25760405162461bcd60e51b81526004016103e4906114b7565b6000610bdc610d3e565b805160405163a9059cbb60e01b81526001600160a01b0391821660048201526024810185905291925084169063a9059cbb90604401602060405180830381600087803b158015610c2b57600080fd5b505af1158015610c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c63919061139e565b50505050565b6000546001600160a01b03163314610c935760405162461bcd60e51b81526004016103e4906114b7565b61089860006111df565b6000546001600160a01b03163314610cc75760405162461bcd60e51b81526004016103e4906114b7565b61089861122f565b60007f0000000000000000000000000000000000000000000000000000000062375cdf421015610cff5750600090565b610d2c7f0000000000000000000000000000000000000000000000000000000062375cdf6276a700611591565b4210610d385750600290565b50600190565b604080516101008101825273472fcc65fab565f75b1e0e861864a86fe5bced7b8152730d02755a5700414b26ff040e1de35d337df562186020820152734d62360cecf722a7888b1f97d4c7e8b1700712489181019190915268056bc75e2d6310000060a082015269469604a4b2135334000060c0820152670de0b6b3a764000060e082015273d7e97172c2419566839bf80deea46d22b1b2e06e60608201526002608082015290565b6000546001600160a01b03163314610e115760405162461bcd60e51b81526004016103e4906114b7565b6000610e1b610d3e565b9050610e2b816000015183611094565b5050565b6000610e39610d3e565b60408101519091506001600160a01b0316610e515750565b6006805460009091556040820151610e699082611094565b81604001516001600160a01b0316336001600160a01b03167f31ffe4a051a517047fe0615dbc4f0d2db813d5c122799ed5aed8e2839c7b9d7883604051610eb291815260200190565b60405180910390a35050565b6000546001600160a01b03163314610ee85760405162461bcd60e51b81526004016103e4906114b7565b6001600160a01b038116610f4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103e4565b610f56816111df565b50565b60008033610f6c57506000928392509050565b6000610f76610d3e565b60208101516040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a082319060240160206040518083038186803b158015610fc157600080fd5b505afa158015610fd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff99190611430565b90506000811161100a575050915091565b3360009081526003602052604090205460e083015161102991906115e8565b935084841115611037578493505b670de0b6b3a76400008260c001518561105091906115c9565b61105a91906115a9565b92508083111561108d578092508160c0015183670de0b6b3a764000061108091906115c9565b61108a91906115a9565b93505b5050915091565b604080516000808252602082019092526001600160a01b0384169083906040516110be919061146a565b60006040518083038185875af1925050503d80600081146110fb576040519150601f19603f3d011682016040523d82523d6000602084013e611100565b606091505b50509050806111475760405162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b60448201526064016103e4565b505050565b60025460ff166111955760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016103e4565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff16156112755760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016103e4565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111c23390565b604051806101c00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000600281111561130857634e487b7160e01b600052602160045260246000fd5b81526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b80356001600160a01b038116811461134f57600080fd5b919050565b600060208284031215611365578081fd5b61136e82611338565b9392505050565b60008060408385031215611387578081fd5b61139083611338565b946020939093013593505050565b6000602082840312156113af578081fd5b8151801515811461136e578182fd5b6000604082840312156113cf578081fd5b6040516040810181811067ffffffffffffffff821117156113fe57634e487b7160e01b83526041600452602483fd5b604052825181526020928301519281019290925250919050565b600060208284031215611429578081fd5b5035919050565b600060208284031215611441578081fd5b5051919050565b6003811061146657634e487b7160e01b600052602160045260246000fd5b9052565b60008251815b8181101561148a5760208186018101518583015201611470565b818111156114985782828501525b509190910192915050565b602081016114b18284611448565b92915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006101c082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015161154760e0840182611448565b50610100838101519083015261012080840151908301526101408084015190830152610160808401519083015261018080840151908301526101a092830151929091019190915290565b600082198211156115a4576115a46115ff565b500190565b6000826115c457634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156115e3576115e36115ff565b500290565b6000828210156115fa576115fa6115ff565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122052e2d208c20d3a0239011d8d01297627d00ed436dd344227b6c73c5b7fcb03e864736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.