Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 209 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 13825579 | 1119 days ago | IN | 0 ETH | 0.01147589 | ||||
Claim | 13802445 | 1123 days ago | IN | 0 ETH | 0.00704097 | ||||
Claim | 13708014 | 1138 days ago | IN | 0 ETH | 0.00673316 | ||||
Claim | 13560452 | 1161 days ago | IN | 0 ETH | 0.01865433 | ||||
Claim | 13558788 | 1162 days ago | IN | 0 ETH | 0.0101018 | ||||
Claim | 13558788 | 1162 days ago | IN | 0 ETH | 0.01277162 | ||||
Claim | 13558303 | 1162 days ago | IN | 0 ETH | 0.06525377 | ||||
Claim | 13558226 | 1162 days ago | IN | 0 ETH | 0.06656967 | ||||
Claim | 13558170 | 1162 days ago | IN | 0 ETH | 0.03719399 | ||||
Claim | 13558102 | 1162 days ago | IN | 0 ETH | 0.01175892 | ||||
Claim | 13557854 | 1162 days ago | IN | 0 ETH | 0.0110823 | ||||
Claim | 13556295 | 1162 days ago | IN | 0 ETH | 0.01646329 | ||||
Claim | 13556191 | 1162 days ago | IN | 0 ETH | 0.01027953 | ||||
Claim | 13555760 | 1162 days ago | IN | 0 ETH | 0.0181989 | ||||
Claim | 13555710 | 1162 days ago | IN | 0 ETH | 0.02947757 | ||||
Claim | 13554574 | 1162 days ago | IN | 0 ETH | 0.01651553 | ||||
Claim | 13554428 | 1162 days ago | IN | 0 ETH | 0.00889887 | ||||
Claim | 13554292 | 1162 days ago | IN | 0 ETH | 0.01526441 | ||||
Claim | 13553794 | 1162 days ago | IN | 0 ETH | 0.03384104 | ||||
Claim | 13553564 | 1162 days ago | IN | 0 ETH | 0.0092565 | ||||
Claim | 13553311 | 1162 days ago | IN | 0 ETH | 0.00471132 | ||||
Claim | 13553311 | 1162 days ago | IN | 0 ETH | 0.01338864 | ||||
Claim | 13553019 | 1162 days ago | IN | 0 ETH | 0.01209924 | ||||
Claim | 13552450 | 1163 days ago | IN | 0 ETH | 0.0108805 | ||||
Claim | 13551235 | 1163 days ago | IN | 0 ETH | 0.0329102 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
CartelOreClaim
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Ownable.sol"; import "./ReentrancyGuard.sol"; import "./ILandCollection.sol"; import "./IOre.sol"; contract CartelOreClaim is Ownable, ReentrancyGuard { // Collection token contract interface ILandCollection public collection; // Ore token contract interface IOre public ore; mapping (uint256 => bool) public claimedByTokenId; uint256 public orePerToken; uint256 public orePerSet; uint256 public totalTokenClaim; uint256 public totalSetClaim; constructor(address _ore, address _collection, uint256 _orePerToken, uint256 _orePerSet) { ore = IOre(_ore); collection = ILandCollection(_collection); orePerToken = _orePerToken; orePerSet = _orePerSet; } function unclaimedTokenIds(address _address) external view returns (uint256[] memory) { uint256 owned = collection.balanceOf(_address); uint256 count = 0; for (uint256 i = 0; i < owned; i++) { uint256 tokenId = collection.tokenOfOwnerByIndex(_address, i); uint256 groupId = tokenId / 100000; if ((groupId == 1000 || groupId == 1002) && !claimedByTokenId[tokenId]) { count++; } } uint256[] memory tokenIds = new uint256[](count); uint256 j = 0; for (uint256 i = 0; i < owned; i++) { uint256 tokenId = collection.tokenOfOwnerByIndex(_address, i); uint256 groupId = tokenId / 100000; if ((groupId == 1000 || groupId == 1002) && !claimedByTokenId[tokenId]) { tokenIds[j++] = tokenId; } } return tokenIds; } function claim(uint256[] calldata _tokenIds) external nonReentrant { // Limit up to 50 tokens to be processed uint256 maxCount = (_tokenIds.length > 50 ? 50 : _tokenIds.length); uint256 tokenCount = 0; uint256[] memory setCounter = new uint256[](7); // Iterate through all owned land-genesis collection tokens and calculate claimable ore // Then track the claims properly for (uint256 i = 0; i < maxCount; i++) { uint256 tokenId = _tokenIds[i]; require(collection.ownerOf(tokenId) == msg.sender, "Invalid Tokens Specified"); if (!claimedByTokenId[tokenId]) { tokenCount++; // Check for any claimable set bonus uint256 memberType; uint256 groupId = tokenId / 100000; uint256 memberId = tokenId % 100000; uint256 num; require(groupId == 1000 || groupId == 1002, "Invalid Token Id"); if (groupId == 1000) { num = memberId - 1; } else if (groupId == 1002) { num = memberId + 1255; } if (num % 9 == 0) { memberType = num % 5; } else if (num % 10 == 0) { memberType = num % 6; } else { memberType = num % 7; } setCounter[memberType]++; claimedByTokenId[tokenId] = true; } } uint256 totalOre = 0; if (tokenCount > 0) { totalTokenClaim += tokenCount; totalOre += tokenCount * orePerToken; } // Calculate the total number of set eligible for bonus uint256 setCount = maxCount; for (uint256 i = 0; i < 7; i++) { if (setCount > setCounter[i]) { setCount = setCounter[i]; } } if (setCount > 0) { totalSetClaim += setCount; totalOre += setCount * orePerSet; } require(totalOre > 0, "Insufficient Claimable Ore"); ore.mint(msg.sender, totalOre); } }
// SPDX-License-Identifier: MIT 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ILandCollection { function totalMinted(uint256 groupId) external view returns (uint256); function maximumSupply(uint256 groupId) external view returns (uint256); function mintToken(address account, uint256 groupId, uint256 count, uint256 seed) external; function balanceOf(address owner) external view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); function ownerOf(uint256 tokenId) external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IOre { function balanceOf(address owner) external view returns (uint256); function mint(address account, uint256 amount) external; function burn(address account, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 make 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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_ore","type":"address"},{"internalType":"address","name":"_collection","type":"address"},{"internalType":"uint256","name":"_orePerToken","type":"uint256"},{"internalType":"uint256","name":"_orePerSet","type":"uint256"}],"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"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collection","outputs":[{"internalType":"contract ILandCollection","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ore","outputs":[{"internalType":"contract IOre","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orePerSet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"totalSetClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"unclaimedTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610f04380380610f0483398101604081905261002f916100e6565b6100383361007a565b60018055600380546001600160a01b039586166001600160a01b0319918216179091556002805494909516931692909217909255600591909155600655610129565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100e157600080fd5b919050565b600080600080608085870312156100fc57600080fd5b610105856100ca565b9350610113602086016100ca565b6040860151606090960151949790965092505050565b610dcc806101386000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80637de1e536116100815780638da5cb5b1161005b5780638da5cb5b146101b9578063efec742b146101ca578063f2fde38b146101d357600080fd5b80637de1e53614610148578063896265b3146101735780638c16300d146101a657600080fd5b80636ba4c138116100b25780636ba4c138146101225780637004482714610137578063715018a61461014057600080fd5b806325b9f3ee146100d957806356b7853b1461010257806367cd4ac914610119575b600080fd5b6100ec6100e7366004610b81565b6101e6565b6040516100f99190610ba5565b60405180910390f35b61010b60085481565b6040519081526020016100f9565b61010b60065481565b610135610130366004610be9565b6104e3565b005b61010b60075481565b6101356109bc565b60025461015b906001600160a01b031681565b6040516001600160a01b0390911681526020016100f9565b610196610181366004610c5e565b60046020526000908152604090205460ff1681565b60405190151581526020016100f9565b60035461015b906001600160a01b031681565b6000546001600160a01b031661015b565b61010b60055481565b6101356101e1366004610b81565b610a22565b6002546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301526060926000929116906370a082319060240160206040518083038186803b15801561024957600080fd5b505afa15801561025d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102819190610c77565b90506000805b8281101561037b57600254604051632f745c5960e01b81526001600160a01b038781166004830152602482018490526000921690632f745c599060440160206040518083038186803b1580156102dc57600080fd5b505afa1580156102f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103149190610c77565b90506000610325620186a083610cbc565b9050806103e814806103385750806103ea145b8015610353575060008281526004602052604090205460ff16155b15610366578361036281610cd0565b9450505b5050808061037390610cd0565b915050610287565b5060008167ffffffffffffffff81111561039757610397610ceb565b6040519080825280602002602001820160405280156103c0578160200160208202803683370190505b5090506000805b848110156104d857600254604051632f745c5960e01b81526001600160a01b038981166004830152602482018490526000921690632f745c599060440160206040518083038186803b15801561041c57600080fd5b505afa158015610430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104549190610c77565b90506000610465620186a083610cbc565b9050806103e814806104785750806103ea145b8015610493575060008281526004602052604090205460ff16155b156104c3578185856104a481610cd0565b9650815181106104b6576104b6610d01565b6020026020010181815250505b505080806104d090610cd0565b9150506103c7565b509095945050505050565b6002600154141561053b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556000603282116105505781610553565b60325b604080516007808252610100820190925291925060009182916020820160e08036833701905050905060005b8381101561081357600086868381811061059b5761059b610d01565b6002546040517f6352211e000000000000000000000000000000000000000000000000000000008152602092909202939093013560048201819052935033926001600160a01b03169150636352211e9060240160206040518083038186803b15801561060657600080fd5b505afa15801561061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063e9190610d17565b6001600160a01b0316146106945760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546f6b656e732053706563696669656400000000000000006044820152606401610532565b60008181526004602052604090205460ff1661080057836106b481610cd0565b945060009050806106c8620186a084610cbc565b905060006106d9620186a085610d34565b90506000826103e814806106ee5750826103ea145b61073a5760405162461bcd60e51b815260206004820152601060248201527f496e76616c696420546f6b656e204964000000000000000000000000000000006044820152606401610532565b826103e814156107565761074f600183610d48565b905061076f565b826103ea141561076f5761076c826104e7610d5f565b90505b61077a600982610d34565b61079057610789600582610d34565b93506107b8565b61079b600a82610d34565b6107aa57610789600682610d34565b6107b5600782610d34565b93505b8684815181106107ca576107ca610d01565b6020026020010180518091906107df90610cd0565b90525050506000838152600460205260409020805460ff1916600117905550505b508061080b81610cd0565b91505061057f565b506000821561084d57826007600082825461082e9190610d5f565b90915550506005546108409084610d77565b61084a9082610d5f565b90505b8360005b60078110156108aa5783818151811061086c5761086c610d01565b60200260200101518211156108985783818151811061088d5761088d610d01565b602002602001015191505b806108a281610cd0565b915050610851565b5080156108e25780600860008282546108c39190610d5f565b90915550506006546108d59082610d77565b6108df9083610d5f565b91505b600082116109325760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420436c61696d61626c65204f72650000000000006044820152606401610532565b6003546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018490526001600160a01b03909116906340c10f1990604401600060405180830381600087803b15801561099757600080fd5b505af11580156109ab573d6000803e3d6000fd5b505060018055505050505050505050565b6000546001600160a01b03163314610a165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610532565b610a206000610b04565b565b6000546001600160a01b03163314610a7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610532565b6001600160a01b038116610af85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610532565b610b0181610b04565b50565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114610b0157600080fd5b600060208284031215610b9357600080fd5b8135610b9e81610b6c565b9392505050565b6020808252825182820181905260009190848201906040850190845b81811015610bdd57835183529284019291840191600101610bc1565b50909695505050505050565b60008060208385031215610bfc57600080fd5b823567ffffffffffffffff80821115610c1457600080fd5b818501915085601f830112610c2857600080fd5b813581811115610c3757600080fd5b8660208260051b8501011115610c4c57600080fd5b60209290920196919550909350505050565b600060208284031215610c7057600080fd5b5035919050565b600060208284031215610c8957600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082610ccb57610ccb610c90565b500490565b6000600019821415610ce457610ce4610ca6565b5060010190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215610d2957600080fd5b8151610b9e81610b6c565b600082610d4357610d43610c90565b500690565b600082821015610d5a57610d5a610ca6565b500390565b60008219821115610d7257610d72610ca6565b500190565b6000816000190483118215151615610d9157610d91610ca6565b50029056fea26469706673582212202d63efa265d004d349c35e9349b97aff259d5107afb73b3abbdfe60b8236b36564736f6c63430008090033000000000000000000000000c40107e23c285d9cc9759f7c656805d6e5c88a3c0000000000000000000000007f0ab6a57cfd191a202ab3f813ef9b851c77e6180000000000000000000000000000000000000000000000056bc75e2d6310000000000000000000000000000000000000000000000000001043561a8829300000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100d45760003560e01c80637de1e536116100815780638da5cb5b1161005b5780638da5cb5b146101b9578063efec742b146101ca578063f2fde38b146101d357600080fd5b80637de1e53614610148578063896265b3146101735780638c16300d146101a657600080fd5b80636ba4c138116100b25780636ba4c138146101225780637004482714610137578063715018a61461014057600080fd5b806325b9f3ee146100d957806356b7853b1461010257806367cd4ac914610119575b600080fd5b6100ec6100e7366004610b81565b6101e6565b6040516100f99190610ba5565b60405180910390f35b61010b60085481565b6040519081526020016100f9565b61010b60065481565b610135610130366004610be9565b6104e3565b005b61010b60075481565b6101356109bc565b60025461015b906001600160a01b031681565b6040516001600160a01b0390911681526020016100f9565b610196610181366004610c5e565b60046020526000908152604090205460ff1681565b60405190151581526020016100f9565b60035461015b906001600160a01b031681565b6000546001600160a01b031661015b565b61010b60055481565b6101356101e1366004610b81565b610a22565b6002546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301526060926000929116906370a082319060240160206040518083038186803b15801561024957600080fd5b505afa15801561025d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102819190610c77565b90506000805b8281101561037b57600254604051632f745c5960e01b81526001600160a01b038781166004830152602482018490526000921690632f745c599060440160206040518083038186803b1580156102dc57600080fd5b505afa1580156102f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103149190610c77565b90506000610325620186a083610cbc565b9050806103e814806103385750806103ea145b8015610353575060008281526004602052604090205460ff16155b15610366578361036281610cd0565b9450505b5050808061037390610cd0565b915050610287565b5060008167ffffffffffffffff81111561039757610397610ceb565b6040519080825280602002602001820160405280156103c0578160200160208202803683370190505b5090506000805b848110156104d857600254604051632f745c5960e01b81526001600160a01b038981166004830152602482018490526000921690632f745c599060440160206040518083038186803b15801561041c57600080fd5b505afa158015610430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104549190610c77565b90506000610465620186a083610cbc565b9050806103e814806104785750806103ea145b8015610493575060008281526004602052604090205460ff16155b156104c3578185856104a481610cd0565b9650815181106104b6576104b6610d01565b6020026020010181815250505b505080806104d090610cd0565b9150506103c7565b509095945050505050565b6002600154141561053b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556000603282116105505781610553565b60325b604080516007808252610100820190925291925060009182916020820160e08036833701905050905060005b8381101561081357600086868381811061059b5761059b610d01565b6002546040517f6352211e000000000000000000000000000000000000000000000000000000008152602092909202939093013560048201819052935033926001600160a01b03169150636352211e9060240160206040518083038186803b15801561060657600080fd5b505afa15801561061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063e9190610d17565b6001600160a01b0316146106945760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546f6b656e732053706563696669656400000000000000006044820152606401610532565b60008181526004602052604090205460ff1661080057836106b481610cd0565b945060009050806106c8620186a084610cbc565b905060006106d9620186a085610d34565b90506000826103e814806106ee5750826103ea145b61073a5760405162461bcd60e51b815260206004820152601060248201527f496e76616c696420546f6b656e204964000000000000000000000000000000006044820152606401610532565b826103e814156107565761074f600183610d48565b905061076f565b826103ea141561076f5761076c826104e7610d5f565b90505b61077a600982610d34565b61079057610789600582610d34565b93506107b8565b61079b600a82610d34565b6107aa57610789600682610d34565b6107b5600782610d34565b93505b8684815181106107ca576107ca610d01565b6020026020010180518091906107df90610cd0565b90525050506000838152600460205260409020805460ff1916600117905550505b508061080b81610cd0565b91505061057f565b506000821561084d57826007600082825461082e9190610d5f565b90915550506005546108409084610d77565b61084a9082610d5f565b90505b8360005b60078110156108aa5783818151811061086c5761086c610d01565b60200260200101518211156108985783818151811061088d5761088d610d01565b602002602001015191505b806108a281610cd0565b915050610851565b5080156108e25780600860008282546108c39190610d5f565b90915550506006546108d59082610d77565b6108df9083610d5f565b91505b600082116109325760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420436c61696d61626c65204f72650000000000006044820152606401610532565b6003546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018490526001600160a01b03909116906340c10f1990604401600060405180830381600087803b15801561099757600080fd5b505af11580156109ab573d6000803e3d6000fd5b505060018055505050505050505050565b6000546001600160a01b03163314610a165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610532565b610a206000610b04565b565b6000546001600160a01b03163314610a7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610532565b6001600160a01b038116610af85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610532565b610b0181610b04565b50565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114610b0157600080fd5b600060208284031215610b9357600080fd5b8135610b9e81610b6c565b9392505050565b6020808252825182820181905260009190848201906040850190845b81811015610bdd57835183529284019291840191600101610bc1565b50909695505050505050565b60008060208385031215610bfc57600080fd5b823567ffffffffffffffff80821115610c1457600080fd5b818501915085601f830112610c2857600080fd5b813581811115610c3757600080fd5b8660208260051b8501011115610c4c57600080fd5b60209290920196919550909350505050565b600060208284031215610c7057600080fd5b5035919050565b600060208284031215610c8957600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082610ccb57610ccb610c90565b500490565b6000600019821415610ce457610ce4610ca6565b5060010190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215610d2957600080fd5b8151610b9e81610b6c565b600082610d4357610d43610c90565b500690565b600082821015610d5a57610d5a610ca6565b500390565b60008219821115610d7257610d72610ca6565b500190565b6000816000190483118215151615610d9157610d91610ca6565b50029056fea26469706673582212202d63efa265d004d349c35e9349b97aff259d5107afb73b3abbdfe60b8236b36564736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c40107e23c285d9cc9759f7c656805d6e5c88a3c0000000000000000000000007f0ab6a57cfd191a202ab3f813ef9b851c77e6180000000000000000000000000000000000000000000000056bc75e2d6310000000000000000000000000000000000000000000000000001043561a8829300000
-----Decoded View---------------
Arg [0] : _ore (address): 0xc40107e23c285d9CC9759f7C656805D6E5c88A3C
Arg [1] : _collection (address): 0x7F0AB6a57cfD191a202aB3F813eF9B851C77e618
Arg [2] : _orePerToken (uint256): 100000000000000000000
Arg [3] : _orePerSet (uint256): 300000000000000000000
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c40107e23c285d9cc9759f7c656805d6e5c88a3c
Arg [1] : 0000000000000000000000007f0ab6a57cfd191a202ab3f813ef9b851c77e618
Arg [2] : 0000000000000000000000000000000000000000000000056bc75e2d63100000
Arg [3] : 00000000000000000000000000000000000000000000001043561a8829300000
Deployed Bytecode Sourcemap
169:3292:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;764:809;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;504:28;;;;;;;;;1208:25:6;;;1196:2;1181:18;504:28:0;1062:177:6;441:24:0;;;;;;1577:1882;;;;;;:::i;:::-;;:::i;:::-;;470:30;;;;;;1598:92:4;;;:::i;266:33:0:-;;;;;-1:-1:-1;;;;;266:33:0;;;;;;-1:-1:-1;;;;;2051:55:6;;;2033:74;;2021:2;2006:18;266:33:0;1864:249:6;357:49:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2468:14:6;;2461:22;2443:41;;2431:2;2416:18;357:49:0;2303:187:6;337:15:0;;;;;-1:-1:-1;;;;;337:15:0;;;966:85:4;1012:7;1038:6;-1:-1:-1;;;;;1038:6:4;966:85;;411:26:0;;;;;;1839:189:4;;;;;;:::i;:::-;;:::i;764:809:0:-;872:10;;:30;;;;;-1:-1:-1;;;;;2051:55:6;;;872:30:0;;;2033:74:6;832:16:0;;856:13;;872:10;;;:20;;2006:18:6;;872:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;856:46;;908:13;937:9;932:260;956:5;952:1;:9;932:260;;;994:10;;:43;;-1:-1:-1;;;994:43:0;;-1:-1:-1;;;;;3350:55:6;;;994:43:0;;;3332:74:6;3422:18;;;3415:34;;;976:15:0;;994:10;;:30;;3305:18:6;;994:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;976:61;-1:-1:-1;1045:15:0;1063:16;1073:6;976:61;1063:16;:::i;:::-;1045:34;;1093:7;1104:4;1093:15;:34;;;;1112:7;1123:4;1112:15;1093:34;1092:66;;;;-1:-1:-1;1133:25:0;;;;:16;:25;;;;;;;;1132:26;1092:66;1088:98;;;1170:7;;;;:::i;:::-;;;;1088:98;968:224;;963:3;;;;;:::i;:::-;;;;932:260;;;;1198:25;1240:5;1226:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1226:20:0;;1198:48;;1252:9;1276;1271:276;1295:5;1291:1;:9;1271:276;;;1333:10;;:43;;-1:-1:-1;;;1333:43:0;;-1:-1:-1;;;;;3350:55:6;;;1333:43:0;;;3332:74:6;3422:18;;;3415:34;;;1315:15:0;;1333:10;;:30;;3305:18:6;;1333:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1315:61;-1:-1:-1;1384:15:0;1402:16;1412:6;1315:61;1402:16;:::i;:::-;1384:34;;1432:7;1443:4;1432:15;:34;;;;1451:7;1462:4;1451:15;1432:34;1431:66;;;;-1:-1:-1;1472:25:0;;;;:16;:25;;;;;;;;1471:26;1431:66;1427:114;;;1525:7;1509:8;1518:3;;;;:::i;:::-;;;1509:13;;;;;;;;:::i;:::-;;;;;;:23;;;;;1427:114;1307:240;;1302:3;;;;;:::i;:::-;;;;1271:276;;;-1:-1:-1;1560:8:0;;764:809;-1:-1:-1;;;;;764:809:0:o;1577:1882::-;1680:1:5;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:5;;4683:2:6;2251:63:5;;;4665:21:6;4722:2;4702:18;;;4695:30;4761:33;4741:18;;;4734:61;4812:18;;2251:63:5;;;;;;;;;1680:1;2389:7;:18;1695:16:0::1;1734:2;1715:21:::0;::::1;:45;;1744:9:::0;1715:45:::1;;;1739:2;1715:45;1825:16;::::0;;1839:1:::1;1825:16:::0;;;;;::::1;::::0;;;1695:66;;-1:-1:-1;1767:18:0::1;::::0;;;1825:16:::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;1825:16:0::1;1795:46;;1983:9;1978:915;2002:8;1998:1;:12;1978:915;;;2025:15;2043:9;;2053:1;2043:12;;;;;;;:::i;:::-;2071:10;::::0;:27:::1;::::0;;;;2043:12:::1;::::0;;;::::1;::::0;;;::::1;;2071:27;::::0;::::1;1208:25:6::0;;;2043:12:0;-1:-1:-1;2102:10:0::1;::::0;-1:-1:-1;;;;;2071:10:0::1;::::0;-1:-1:-1;2071:18:0::1;::::0;1181::6;;2071:27:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2071:41:0::1;;2063:78;;;::::0;-1:-1:-1;;;2063:78:0;;5299:2:6;2063:78:0::1;::::0;::::1;5281:21:6::0;5338:2;5318:18;;;5311:30;5377:26;5357:18;;;5350:54;5421:18;;2063:78:0::1;5097:348:6::0;2063:78:0::1;2155:25;::::0;;;:16:::1;:25;::::0;;;;;::::1;;2150:737;;2192:12:::0;::::1;::::0;::::1;:::i;:::-;::::0;-1:-1:-1;2268:18:0::1;::::0;-1:-1:-1;2268:18:0;2314:16:::1;2324:6;2314:7:::0;:16:::1;:::i;:::-;2296:34:::0;-1:-1:-1;2340:16:0::1;2359;2369:6;2359:7:::0;:16:::1;:::i;:::-;2340:35;;2385:11;2415:7;2426:4;2415:15;:34;;;;2434:7;2445:4;2434:15;2415:34;2407:63;;;::::0;-1:-1:-1;;;2407:63:0;;5769:2:6;2407:63:0::1;::::0;::::1;5751:21:6::0;5808:2;5788:18;;;5781:30;5847:18;5827;;;5820:46;5883:18;;2407:63:0::1;5567:340:6::0;2407:63:0::1;2485:7;2496:4;2485:15;2481:133;;;2520:12;2531:1;2520:8:::0;:12:::1;:::i;:::-;2514:18;;2481:133;;;2553:7;2564:4;2553:15;2549:65;;;2588:15;:8:::0;2599:4:::1;2588:15;:::i;:::-;2582:21;;2549:65;2628:7;2634:1;2628:3:::0;:7:::1;:::i;:::-;2624:178;;2667:7;2673:1;2667:3:::0;:7:::1;:::i;:::-;2654:20;;2624:178;;;2695:8;2701:2;2695:3:::0;:8:::1;:::i;:::-;2691:111;;2735:7;2741:1;2735:3:::0;:7:::1;:::i;2691:111::-;2784:7;2790:1;2784:3:::0;:7:::1;:::i;:::-;2771:20;;2691:111;2812:10;2823;2812:22;;;;;;;;:::i;:::-;;;;;;:24;;;;;;;;:::i;:::-;::::0;;-1:-1:-1;;;2846:25:0::1;::::0;;;:16:::1;:25;::::0;;;;:32;;-1:-1:-1;;2846:32:0::1;2874:4;2846:32;::::0;;-1:-1:-1;;2150:737:0::1;-1:-1:-1::0;2012:3:0;::::1;::::0;::::1;:::i;:::-;;;;1978:915;;;-1:-1:-1::0;2899:16:0::1;2930:14:::0;;2926:108:::1;;2973:10;2954:15;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;3016:11:0::1;::::0;3003:24:::1;::::0;:10;:24:::1;:::i;:::-;2991:36;::::0;;::::1;:::i;:::-;;;2926:108;3119:8:::0;3100:16:::1;3133:119;3157:1;3153;:5;3133:119;;;3188:10;3199:1;3188:13;;;;;;;;:::i;:::-;;;;;;;3177:8;:24;3173:73;;;3224:10;3235:1;3224:13;;;;;;;;:::i;:::-;;;;;;;3213:24;;3173:73;3160:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3133:119;;;-1:-1:-1::0;3262:12:0;;3258:98:::1;;3301:8;3284:13;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;3340:9:0::1;::::0;3329:20:::1;::::0;:8;:20:::1;:::i;:::-;3317:32;::::0;;::::1;:::i;:::-;;;3258:98;3381:1;3370:8;:12;3362:51;;;::::0;-1:-1:-1;;;3362:51:0;;6550:2:6;3362:51:0::1;::::0;::::1;6532:21:6::0;6589:2;6569:18;;;6562:30;6628:28;6608:18;;;6601:56;6674:18;;3362:51:0::1;6348:350:6::0;3362:51:0::1;3424:3;::::0;:30:::1;::::0;;;;3433:10:::1;3424:30;::::0;::::1;3332:74:6::0;3422:18;;;3415:34;;;-1:-1:-1;;;;;3424:3:0;;::::1;::::0;:8:::1;::::0;3305:18:6;;3424:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1637:1:5;2562:22;;-1:-1:-1;;;;;;;;;1577:1882:0:o;1598:92:4:-;1012:7;1038:6;-1:-1:-1;;;;;1038:6:4;666:10:1;1178:23:4;1170:68;;;;-1:-1:-1;;;1170:68:4;;6905:2:6;1170:68:4;;;6887:21:6;;;6924:18;;;6917:30;6983:34;6963:18;;;6956:62;7035:18;;1170:68:4;6703:356:6;1170:68:4;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;1839:189::-;1012:7;1038:6;-1:-1:-1;;;;;1038:6:4;666:10:1;1178:23:4;1170:68;;;;-1:-1:-1;;;1170:68:4;;6905:2:6;1170:68:4;;;6887:21:6;;;6924:18;;;6917:30;6983:34;6963:18;;;6956:62;7035:18;;1170:68:4;6703:356:6;1170:68:4;-1:-1:-1;;;;;1927:22:4;::::1;1919:73;;;::::0;-1:-1:-1;;;1919:73:4;;7266:2:6;1919:73:4::1;::::0;::::1;7248:21:6::0;7305:2;7285:18;;;7278:30;7344:34;7324:18;;;7317:62;7415:8;7395:18;;;7388:36;7441:19;;1919:73:4::1;7064:402:6::0;1919:73:4::1;2002:19;2012:8;2002:9;:19::i;:::-;1839:189:::0;:::o;2034:169::-;2089:16;2108:6;;-1:-1:-1;;;;;2124:17:4;;;;;;;;;;2156:40;;2108:6;;;;;;;2156:40;;2089:16;2156:40;2079:124;2034:169;:::o;14:154:6:-;-1:-1:-1;;;;;93:5:6;89:54;82:5;79:65;69:93;;158:1;155;148:12;173:247;232:6;285:2;273:9;264:7;260:23;256:32;253:52;;;301:1;298;291:12;253:52;340:9;327:23;359:31;384:5;359:31;:::i;:::-;409:5;173:247;-1:-1:-1;;;173:247:6:o;425:632::-;596:2;648:21;;;718:13;;621:18;;;740:22;;;567:4;;596:2;819:15;;;;793:2;778:18;;;567:4;862:169;876:6;873:1;870:13;862:169;;;937:13;;925:26;;1006:15;;;;971:12;;;;898:1;891:9;862:169;;;-1:-1:-1;1048:3:6;;425:632;-1:-1:-1;;;;;;425:632:6:o;1244:615::-;1330:6;1338;1391:2;1379:9;1370:7;1366:23;1362:32;1359:52;;;1407:1;1404;1397:12;1359:52;1447:9;1434:23;1476:18;1517:2;1509:6;1506:14;1503:34;;;1533:1;1530;1523:12;1503:34;1571:6;1560:9;1556:22;1546:32;;1616:7;1609:4;1605:2;1601:13;1597:27;1587:55;;1638:1;1635;1628:12;1587:55;1678:2;1665:16;1704:2;1696:6;1693:14;1690:34;;;1720:1;1717;1710:12;1690:34;1773:7;1768:2;1758:6;1755:1;1751:14;1747:2;1743:23;1739:32;1736:45;1733:65;;;1794:1;1791;1784:12;1733:65;1825:2;1817:11;;;;;1847:6;;-1:-1:-1;1244:615:6;;-1:-1:-1;;;;1244:615:6:o;2118:180::-;2177:6;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;-1:-1:-1;2269:23:6;;2118:180;-1:-1:-1;2118:180:6:o;2969:184::-;3039:6;3092:2;3080:9;3071:7;3067:23;3063:32;3060:52;;;3108:1;3105;3098:12;3060:52;-1:-1:-1;3131:16:6;;2969:184;-1:-1:-1;2969:184:6:o;3460:::-;-1:-1:-1;;;3509:1:6;3502:88;3609:4;3606:1;3599:15;3633:4;3630:1;3623:15;3649:184;-1:-1:-1;;;3698:1:6;3691:88;3798:4;3795:1;3788:15;3822:4;3819:1;3812:15;3838:120;3878:1;3904;3894:35;;3909:18;;:::i;:::-;-1:-1:-1;3943:9:6;;3838:120::o;3963:135::-;4002:3;-1:-1:-1;;4023:17:6;;4020:43;;;4043:18;;:::i;:::-;-1:-1:-1;4090:1:6;4079:13;;3963:135::o;4103:184::-;-1:-1:-1;;;4152:1:6;4145:88;4252:4;4249:1;4242:15;4276:4;4273:1;4266:15;4292:184;-1:-1:-1;;;4341:1:6;4334:88;4441:4;4438:1;4431:15;4465:4;4462:1;4455:15;4841:251;4911:6;4964:2;4952:9;4943:7;4939:23;4935:32;4932:52;;;4980:1;4977;4970:12;4932:52;5012:9;5006:16;5031:31;5056:5;5031:31;:::i;5450:112::-;5482:1;5508;5498:35;;5513:18;;:::i;:::-;-1:-1:-1;5547:9:6;;5450:112::o;5912:125::-;5952:4;5980:1;5977;5974:8;5971:34;;;5985:18;;:::i;:::-;-1:-1:-1;6022:9:6;;5912:125::o;6042:128::-;6082:3;6113:1;6109:6;6106:1;6103:13;6100:39;;;6119:18;;:::i;:::-;-1:-1:-1;6155:9:6;;6042:128::o;6175:168::-;6215:7;6281:1;6277;6273:6;6269:14;6266:1;6263:21;6258:1;6251:9;6244:17;6240:45;6237:71;;;6288:18;;:::i;:::-;-1:-1:-1;6328:9:6;;6175:168::o
Swarm Source
ipfs://2d63efa265d004d349c35e9349b97aff259d5107afb73b3abbdfe60b8236b365
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.