Source Code
Latest 25 from a total of 5,367 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Mint | 126911202 | 465 days ago | IN | 0.00015 ETH | 0.000004737272 | ||||
| Mint | 126651826 | 471 days ago | IN | 0.00015 ETH | 0.000000260193 | ||||
| Mint | 126651823 | 471 days ago | IN | 0.00015 ETH | 0.000000223982 | ||||
| Mint | 126649286 | 471 days ago | IN | 0.00015 ETH | 0.00000026519 | ||||
| Mint | 126398967 | 476 days ago | IN | 0.00015 ETH | 0.000752194501 | ||||
| Mint | 126398620 | 476 days ago | IN | 0.00015 ETH | 0.000464926924 | ||||
| Mint | 126139428 | 482 days ago | IN | 0.0004 ETH | 0.000002104234 | ||||
| Mint | 126139394 | 482 days ago | IN | 0.0004 ETH | 0.000002104281 | ||||
| Mint | 125356570 | 501 days ago | IN | 0.0004 ETH | 0.000000221284 | ||||
| Mint | 125066969 | 507 days ago | IN | 0.0004 ETH | 0.000000725614 | ||||
| Mint | 124240575 | 526 days ago | IN | 0.00015 ETH | 0.00011538767 | ||||
| Mint | 124236139 | 527 days ago | IN | 0.00015 ETH | 0.00000971333 | ||||
| Mint | 124229057 | 527 days ago | IN | 0.00015 ETH | 0.000004065835 | ||||
| Mint | 124227289 | 527 days ago | IN | 0.00015 ETH | 0.000004704263 | ||||
| Mint | 124148625 | 529 days ago | IN | 0.00015 ETH | 0.000014809269 | ||||
| Mint | 124143566 | 529 days ago | IN | 0.00015 ETH | 0.000003345335 | ||||
| Mint | 124121990 | 529 days ago | IN | 0.00015 ETH | 0.000019468544 | ||||
| Mint | 124072527 | 530 days ago | IN | 0.00015 ETH | 0.000048482703 | ||||
| Mint | 124070804 | 530 days ago | IN | 0.00015 ETH | 0.000058163654 | ||||
| Mint | 124034163 | 531 days ago | IN | 0.00015 ETH | 0.000004746032 | ||||
| Mint | 123839682 | 536 days ago | IN | 0.0004 ETH | 0.000000043251 | ||||
| Mint | 123838815 | 536 days ago | IN | 0.0004 ETH | 0.000000091806 | ||||
| Mint | 123809654 | 536 days ago | IN | 0.0004 ETH | 0.000000360127 | ||||
| Mint | 123805494 | 537 days ago | IN | 0.00015 ETH | 0.000018888329 | ||||
| Mint | 123804992 | 537 days ago | IN | 0.00015 ETH | 0.000004942013 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 126911202 | 465 days ago | 0.00015 ETH | ||||
| 126651826 | 471 days ago | 0.00015 ETH | ||||
| 126651823 | 471 days ago | 0.00015 ETH | ||||
| 126649286 | 471 days ago | 0.00015 ETH | ||||
| 126398967 | 476 days ago | 0.00015 ETH | ||||
| 126398620 | 476 days ago | 0.00015 ETH | ||||
| 126139428 | 482 days ago | 0.00015 ETH | ||||
| 126139428 | 482 days ago | 0.00025 ETH | ||||
| 126139394 | 482 days ago | 0.00015 ETH | ||||
| 126139394 | 482 days ago | 0.00025 ETH | ||||
| 125356570 | 501 days ago | 0.00015 ETH | ||||
| 125356570 | 501 days ago | 0.00025 ETH | ||||
| 125066969 | 507 days ago | 0.00015 ETH | ||||
| 125066969 | 507 days ago | 0.00025 ETH | ||||
| 124240575 | 526 days ago | 0.00015 ETH | ||||
| 124236139 | 527 days ago | 0.00015 ETH | ||||
| 124229057 | 527 days ago | 0.00015 ETH | ||||
| 124227289 | 527 days ago | 0.00015 ETH | ||||
| 124148625 | 529 days ago | 0.00015 ETH | ||||
| 124143566 | 529 days ago | 0.00015 ETH | ||||
| 124121990 | 529 days ago | 0.00015 ETH | ||||
| 124072527 | 530 days ago | 0.00015 ETH | ||||
| 124070804 | 530 days ago | 0.00015 ETH | ||||
| 124034163 | 531 days ago | 0.00015 ETH | ||||
| 123839682 | 536 days ago | 0.00015 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
OmniseaDropsManager
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
pragma abicoder v2;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {MintParams} from "../structs/erc721/ERC721Structs.sol";
import "../interfaces/IOmniseaERC721Psi.sol";
import "../interfaces/IOmniseaDropsFactory.sol";
import "../interfaces/IOmniseaReceiver.sol";
contract OmniseaDropsManager is ReentrancyGuard {
event Minted(address collection, address minter, uint256 quantity, uint256 value);
uint256 public fixedFee;
uint256 public dynamicFee;
IERC20 public osea;
mapping (address => uint256) public collectionsOsea; // Overrides the "dynamicFee" if >= "minOseaPerCollection" OSEA present per Collection
mapping (address => uint256) public collectionsOseaPerToken;
uint256 public minOseaPerCollection;
bool public isOseaEnabled;
address private _revenueManager;
address private _owner;
bool private _isPaused;
IOmniseaDropsFactory private _factory;
modifier onlyOwner() {
require(msg.sender == _owner);
_;
}
constructor(address factory_) {
_owner = msg.sender;
_revenueManager = address(0x61104fBe07ecc735D8d84422c7f045f8d29DBf15);
_factory = IOmniseaDropsFactory(factory_);
dynamicFee = 4;
fixedFee = 250000000000000;
}
function setOSEA(address _osea, uint256 _minOseaPerCollection, bool _isEnabled) external onlyOwner {
if (address(osea) == address(0)) {
osea = IERC20(_osea);
}
minOseaPerCollection = _minOseaPerCollection;
isOseaEnabled = _isEnabled;
}
function setFee(uint256 fee_) external onlyOwner {
require(fee_ <= 20);
dynamicFee = fee_;
}
function setFixedFee(uint256 fee_) external onlyOwner {
fixedFee = fee_;
}
function setRevenueManager(address _manager) external onlyOwner {
_revenueManager = _manager;
}
function addOseaToCollection(address _collection, uint256 _oseaAmount, uint256 _oseaAmountPerToken) external {
require(isOseaEnabled && _factory.drops(_collection));
require(_oseaAmount > 0 && _oseaAmountPerToken > 0);
uint256 collectionOsea = collectionsOsea[_collection];
require(collectionOsea + _oseaAmount >= minOseaPerCollection);
// If the collections already has added OSEA, only the owner can modify "collectionsOseaPerToken"
if (collectionOsea > 0 && collectionsOseaPerToken[_collection] != _oseaAmountPerToken) {
IOmniseaERC721Psi collection = IOmniseaERC721Psi(_collection);
require(msg.sender == collection.owner());
}
uint256 addAmount = _oseaAmount * 95 / 100;
uint256 burnAmount = _oseaAmount - addAmount;
require(osea.transferFrom(msg.sender, address(this), addAmount));
require(osea.transferFrom(msg.sender, address(0x000000000000000000000000000000000000dEaD), burnAmount));
collectionsOsea[_collection] += addAmount;
require(_oseaAmountPerToken <= collectionsOsea[_collection], ">oseaAmountPerToken");
collectionsOseaPerToken[_collection] = _oseaAmountPerToken;
}
function mint(MintParams calldata _params) external payable nonReentrant {
require(!_isPaused);
require(_factory.drops(_params.collection));
IOmniseaERC721Psi collection = IOmniseaERC721Psi(_params.collection);
address recipient = _params.to;
uint256 price = collection.mintPrice(_params.phaseId);
uint256 quantityPrice = price * _params.quantity;
require(msg.value == quantityPrice + fixedFee, "!=price");
uint256 collectionOsea = collectionsOsea[_params.collection];
uint256 dynamicFee_ = dynamicFee;
if (isOseaEnabled && collectionOsea > 0) {
dynamicFee_ = 0;
uint256 totalOsea = collectionsOseaPerToken[_params.collection] * _params.quantity;
uint256 oseaAmount = collectionOsea > totalOsea ? totalOsea : collectionOsea;
osea.transfer(recipient, oseaAmount);
collectionsOsea[_params.collection] -= oseaAmount;
}
if (quantityPrice > 0) {
uint256 paidToOwner = quantityPrice * (100 - dynamicFee_) / 100;
(bool p1,) = payable(collection.owner()).call{value: paidToOwner}("");
require(p1, "!p1");
(bool p2,) = payable(_revenueManager).call{value: msg.value - paidToOwner}("");
require(p2, "!p2");
} else {
(bool p3,) = payable(_revenueManager).call{value: msg.value}("");
require(p3, "!p3");
}
uint256 nextTokenId = collection.mint(recipient, _params.quantity, _params.merkleProof, _params.phaseId);
if (_params.payloadForCall.length > 0) {
IOmniseaReceiver(recipient).omReceive(_params.collection, _params.quantity, nextTokenId, _params.payloadForCall);
}
}
function setPause(bool isPaused_) external onlyOwner {
_isPaused = isPaused_;
}
function withdraw() external onlyOwner {
(bool p,) = payable(_owner).call{value: address(this).balance}("");
require(p, "!p");
}
receive() external payable {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev 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 `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, 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 `from` to `to` 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 from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
struct CreateParams {
string name;
string symbol;
string uri;
string tokensURI;
uint24 maxSupply;
bool isZeroIndexed;
uint24 royaltyAmount;
uint256 endTime;
bool isEdition;
bool isSBT;
uint256 premintQuantity;
}
struct MintParams {
address to;
address collection;
uint24 quantity;
bytes32[] merkleProof;
uint8 phaseId;
bytes payloadForCall;
}
struct OmnichainMintParams {
address collection;
uint24 quantity;
uint256 paid;
uint8 phaseId;
address minter;
}
struct Phase {
uint256 from;
uint256 to;
uint24 maxPerAddress;
uint256 price;
bytes32 merkleRoot;
address token;
uint256 minToken;
}
struct BasicCollectionParams {
uint tokenId;
string name;
string symbol;
string uri;
string tokenURI;
address owner;
}
struct LzParams {
uint16 dstChainId;
address zroPaymentAddress;
bytes adapterParams;
address payable refundAddress;
}
struct SendParams {
bytes toAddress;
address sender;
address from;
bytes payloadForCall;
}
struct EncodedSendParams {
bytes toAddress;
bytes sender;
bytes from;
bytes payloadForCall;
}// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import { CreateParams } from "../structs/erc721/ERC721Structs.sol";
/**
* @dev Interface of the IOmniseaUniversalONFT: Universal ONFT Core through delegation
*/
interface IOmniseaERC721Psi is IERC165 {
function initialize(CreateParams memory params, address _owner, address _dropsManagerAddress, address _scheduler) external;
function mint(address _minter, uint24 _quantity, bytes32[] memory _merkleProof, uint8 _phaseId) external returns (uint256);
function mintPrice(uint8 _phaseId) external view returns (uint256);
function owner() external view returns (address);
function dropsManager() external view returns (address);
function endTime() external view returns (uint256);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import {CreateParams} from "../structs/erc721/ERC721Structs.sol";
interface IOmniseaDropsFactory {
function create(CreateParams calldata params) external;
function drops(address) external returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
interface IOmniseaReceiver {
function omReceive(address collection, uint256 mintQuantity, uint256 nextTokenId, bytes memory payloadForCall) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
}{
"optimizer": {
"enabled": true,
"runs": 1
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"factory_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"collection","type":"address"},{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Minted","type":"event"},{"inputs":[{"internalType":"address","name":"_collection","type":"address"},{"internalType":"uint256","name":"_oseaAmount","type":"uint256"},{"internalType":"uint256","name":"_oseaAmountPerToken","type":"uint256"}],"name":"addOseaToCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collectionsOsea","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collectionsOseaPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fixedFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOseaEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minOseaPerCollection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"collection","type":"address"},{"internalType":"uint24","name":"quantity","type":"uint24"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint8","name":"phaseId","type":"uint8"},{"internalType":"bytes","name":"payloadForCall","type":"bytes"}],"internalType":"struct MintParams","name":"_params","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"osea","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"setFixedFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_osea","type":"address"},{"internalType":"uint256","name":"_minOseaPerCollection","type":"uint256"},{"internalType":"bool","name":"_isEnabled","type":"bool"}],"name":"setOSEA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPaused_","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setRevenueManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
608060405234801561001057600080fd5b5060405161147238038061147283398101604081905261002f916100a0565b6001600081905560088054336001600160a01b03199182161790915560078054610100600160a81b0319167461104fbe07ecc735d8d84422c7f045f8d29dbf1500179055600980549091166001600160a01b039390931692909217909155600460025565e35fa931a00090556100d0565b6000602082840312156100b257600080fd5b81516001600160a01b03811681146100c957600080fd5b9392505050565b611393806100df6000396000f3fe6080604052600436106100bc5760003560e01c806322a66bfd146100c85780632e4a33cb1461010857806337de81061461012a5780633ccfd60b1461014a57806349dd68da1461015f57806369fe0e2d1461017f5780636a7467981461019f5780636fdad5ef146101bf5780638310e9f8146101e957806391792d5b14610216578063a22a2d411461022c578063b20d550b14610259578063bedb86fb1461026f578063f648253d1461028f578063ff219cde146102a257600080fd5b366100c357005b600080fd5b3480156100d457600080fd5b506100f56100e3366004610f98565b60046020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561011457600080fd5b50610128610123366004610f98565b6102b8565b005b34801561013657600080fd5b50610128610145366004610fbc565b6102f7565b34801561015657600080fd5b50610128610313565b34801561016b57600080fd5b5061012861017a366004610fe3565b6103ba565b34801561018b57600080fd5b5061012861019a366004610fbc565b610417565b3480156101ab57600080fd5b506101286101ba366004611025565b610441565b3480156101cb57600080fd5b506007546101d99060ff1681565b60405190151581526020016100ff565b3480156101f557600080fd5b506100f5610204366004610f98565b60056020526000908152604090205481565b34801561022257600080fd5b506100f560015481565b34801561023857600080fd5b5060035461024c906001600160a01b031681565b6040516100ff919061105a565b34801561026557600080fd5b506100f560025481565b34801561027b57600080fd5b5061012861028a36600461106e565b6107db565b61012861029d36600461108b565b610810565b3480156102ae57600080fd5b506100f560065481565b6008546001600160a01b031633146102cf57600080fd5b600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6008546001600160a01b0316331461030e57600080fd5b600155565b6008546001600160a01b0316331461032a57600080fd5b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610377576040519150601f19603f3d011682016040523d82523d6000602084013e61037c565b606091505b50509050806103b75760405162461bcd60e51b8152602060048201526002602482015261021760f41b60448201526064015b60405180910390fd5b50565b6008546001600160a01b031633146103d157600080fd5b6003546001600160a01b03166103fd57600380546001600160a01b0319166001600160a01b0385161790555b6006919091556007805460ff191691151591909117905550565b6008546001600160a01b0316331461042e57600080fd5b601481111561043c57600080fd5b600255565b60075460ff1680156104d057506009546040516309833d6d60e31b81526001600160a01b0390911690634c19eb689061047e90869060040161105a565b602060405180830381600087803b15801561049857600080fd5b505af11580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906110c5565b6104d957600080fd5b6000821180156104e95750600081115b6104f257600080fd5b6001600160a01b03831660009081526004602052604090205460065461051884836110f8565b101561052357600080fd5b60008111801561054b57506001600160a01b0384166000908152600560205260409020548214155b156105e5576000849050806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561058e57600080fd5b505afa1580156105a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c69190611110565b6001600160a01b0316336001600160a01b0316146105e357600080fd5b505b600060646105f485605f61112d565b6105fe919061114c565b9050600061060c828661116e565b6003546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd9061064190339030908790600401611185565b602060405180830381600087803b15801561065b57600080fd5b505af115801561066f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069391906110c5565b61069c57600080fd5b6003546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906106d290339061dead908690600401611185565b602060405180830381600087803b1580156106ec57600080fd5b505af1158015610700573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072491906110c5565b61072d57600080fd5b6001600160a01b038616600090815260046020526040812080548492906107559084906110f8565b90915550506001600160a01b0386166000908152600460205260409020548411156107b85760405162461bcd60e51b81526020600482015260136024820152721f37b9b2b0a0b6b7bab73a2832b92a37b5b2b760691b60448201526064016103ae565b5050506001600160a01b0390921660009081526005602052604090209190915550565b6008546001600160a01b031633146107f257600080fd5b60088054911515600160a01b0260ff60a01b19909216919091179055565b600260005414156108635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103ae565b6002600055600854600160a01b900460ff161561087f57600080fd5b6009546001600160a01b0316634c19eb686108a06040840160208501610f98565b6040518263ffffffff1660e01b81526004016108bc919061105a565b602060405180830381600087803b1580156108d657600080fd5b505af11580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e91906110c5565b61091757600080fd5b60006109296040830160208401610f98565b9050600061093a6020840184610f98565b905060006001600160a01b038316638147ef3761095d60a08701608088016111a9565b6040516001600160e01b031960e084901b16815260ff909116600482015260240160206040518083038186803b15801561099657600080fd5b505afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce91906111cc565b905060006109e260608601604087016111e5565b6109f19062ffffff168361112d565b905060015481610a0191906110f8565b3414610a395760405162461bcd60e51b8152602060048201526007602482015266213d707269636560c81b60448201526064016103ae565b6000600481610a4e6040890160208a01610f98565b6001600160a01b031681526020810191909152604001600020546002546007549192509060ff168015610a815750600082115b15610bc65750600080610a9a6060890160408a016111e5565b62ffffff1660056000610ab360408c0160208d01610f98565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610ade919061112d565b90506000818411610aef5783610af1565b815b60035460405163a9059cbb60e01b81526001600160a01b038a811660048301526024820184905292935091169063a9059cbb90604401602060405180830381600087803b158015610b4157600080fd5b505af1158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7991906110c5565b508060046000610b8f60408d0160208e01610f98565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610bbe919061116e565b909155505050505b8215610d875760006064610bda838261116e565b610be4908661112d565b610bee919061114c565b90506000876001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2b57600080fd5b505afa158015610c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c639190611110565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610cad576040519150601f19603f3d011682016040523d82523d6000602084013e610cb2565b606091505b5050905080610ce95760405162461bcd60e51b815260206004820152600360248201526221703160e81b60448201526064016103ae565b60075460009061010090046001600160a01b0316610d07843461116e565b604051600081818185875af1925050503d8060008114610d43576040519150601f19603f3d011682016040523d82523d6000602084013e610d48565b606091505b5050905080610d7f5760405162461bcd60e51b815260206004820152600360248201526210b81960e91b60448201526064016103ae565b505050610e17565b60075460405160009161010090046001600160a01b03169034908381818185875af1925050503d8060008114610dd9576040519150601f19603f3d011682016040523d82523d6000602084013e610dde565b606091505b5050905080610e155760405162461bcd60e51b815260206004820152600360248201526221703360e81b60448201526064016103ae565b505b60006001600160a01b03871663d112fe3387610e3960608c0160408d016111e5565b610e4660608d018d61120a565b8d6080016020810190610e5991906111a9565b6040518663ffffffff1660e01b8152600401610e7995949392919061125a565b602060405180830381600087803b158015610e9357600080fd5b505af1158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb91906111cc565b90506000610edc60a08a018a6112c3565b90501115610f74576001600160a01b038616638bdbab16610f0360408b0160208c01610f98565b610f1360608c0160408d016111e5565b84610f2160a08e018e6112c3565b6040518663ffffffff1660e01b8152600401610f41959493929190611309565b600060405180830381600087803b158015610f5b57600080fd5b505af1158015610f6f573d6000803e3d6000fd5b505050505b50506001600055505050505050565b6001600160a01b03811681146103b757600080fd5b600060208284031215610faa57600080fd5b8135610fb581610f83565b9392505050565b600060208284031215610fce57600080fd5b5035919050565b80151581146103b757600080fd5b600080600060608486031215610ff857600080fd5b833561100381610f83565b925060208401359150604084013561101a81610fd5565b809150509250925092565b60008060006060848603121561103a57600080fd5b833561104581610f83565b95602085013595506040909401359392505050565b6001600160a01b0391909116815260200190565b60006020828403121561108057600080fd5b8135610fb581610fd5565b60006020828403121561109d57600080fd5b81356001600160401b038111156110b357600080fd5b820160c08185031215610fb557600080fd5b6000602082840312156110d757600080fd5b8151610fb581610fd5565b634e487b7160e01b600052601160045260246000fd5b6000821982111561110b5761110b6110e2565b500190565b60006020828403121561112257600080fd5b8151610fb581610f83565b6000816000190483118215151615611147576111476110e2565b500290565b60008261116957634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611180576111806110e2565b500390565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000602082840312156111bb57600080fd5b813560ff81168114610fb557600080fd5b6000602082840312156111de57600080fd5b5051919050565b6000602082840312156111f757600080fd5b813562ffffff81168114610fb557600080fd5b6000808335601e1984360301811261122157600080fd5b8301803591506001600160401b0382111561123b57600080fd5b6020019150600581901b360382131561125357600080fd5b9250929050565b6001600160a01b038616815262ffffff85166020820152608060408201819052810183905260006001600160fb1b0384111561129557600080fd5b8360051b808660a085013760a0818401019050600081528091505060ff831660608301529695505050505050565b6000808335601e198436030181126112da57600080fd5b8301803591506001600160401b038211156112f457600080fd5b60200191503681900382131561125357600080fd5b6001600160a01b038616815262ffffff85166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f1916010194935050505056fea264697066735822122097d23234e2f0ef24cd391981cd1d2d89a4bd365cb6872f9a934d70971447820e64736f6c634300080900330000000000000000000000005a761e70021d0ce30981a92745f6f95afc354281
Deployed Bytecode
0x6080604052600436106100bc5760003560e01c806322a66bfd146100c85780632e4a33cb1461010857806337de81061461012a5780633ccfd60b1461014a57806349dd68da1461015f57806369fe0e2d1461017f5780636a7467981461019f5780636fdad5ef146101bf5780638310e9f8146101e957806391792d5b14610216578063a22a2d411461022c578063b20d550b14610259578063bedb86fb1461026f578063f648253d1461028f578063ff219cde146102a257600080fd5b366100c357005b600080fd5b3480156100d457600080fd5b506100f56100e3366004610f98565b60046020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561011457600080fd5b50610128610123366004610f98565b6102b8565b005b34801561013657600080fd5b50610128610145366004610fbc565b6102f7565b34801561015657600080fd5b50610128610313565b34801561016b57600080fd5b5061012861017a366004610fe3565b6103ba565b34801561018b57600080fd5b5061012861019a366004610fbc565b610417565b3480156101ab57600080fd5b506101286101ba366004611025565b610441565b3480156101cb57600080fd5b506007546101d99060ff1681565b60405190151581526020016100ff565b3480156101f557600080fd5b506100f5610204366004610f98565b60056020526000908152604090205481565b34801561022257600080fd5b506100f560015481565b34801561023857600080fd5b5060035461024c906001600160a01b031681565b6040516100ff919061105a565b34801561026557600080fd5b506100f560025481565b34801561027b57600080fd5b5061012861028a36600461106e565b6107db565b61012861029d36600461108b565b610810565b3480156102ae57600080fd5b506100f560065481565b6008546001600160a01b031633146102cf57600080fd5b600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6008546001600160a01b0316331461030e57600080fd5b600155565b6008546001600160a01b0316331461032a57600080fd5b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610377576040519150601f19603f3d011682016040523d82523d6000602084013e61037c565b606091505b50509050806103b75760405162461bcd60e51b8152602060048201526002602482015261021760f41b60448201526064015b60405180910390fd5b50565b6008546001600160a01b031633146103d157600080fd5b6003546001600160a01b03166103fd57600380546001600160a01b0319166001600160a01b0385161790555b6006919091556007805460ff191691151591909117905550565b6008546001600160a01b0316331461042e57600080fd5b601481111561043c57600080fd5b600255565b60075460ff1680156104d057506009546040516309833d6d60e31b81526001600160a01b0390911690634c19eb689061047e90869060040161105a565b602060405180830381600087803b15801561049857600080fd5b505af11580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d091906110c5565b6104d957600080fd5b6000821180156104e95750600081115b6104f257600080fd5b6001600160a01b03831660009081526004602052604090205460065461051884836110f8565b101561052357600080fd5b60008111801561054b57506001600160a01b0384166000908152600560205260409020548214155b156105e5576000849050806001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561058e57600080fd5b505afa1580156105a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c69190611110565b6001600160a01b0316336001600160a01b0316146105e357600080fd5b505b600060646105f485605f61112d565b6105fe919061114c565b9050600061060c828661116e565b6003546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd9061064190339030908790600401611185565b602060405180830381600087803b15801561065b57600080fd5b505af115801561066f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069391906110c5565b61069c57600080fd5b6003546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906106d290339061dead908690600401611185565b602060405180830381600087803b1580156106ec57600080fd5b505af1158015610700573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072491906110c5565b61072d57600080fd5b6001600160a01b038616600090815260046020526040812080548492906107559084906110f8565b90915550506001600160a01b0386166000908152600460205260409020548411156107b85760405162461bcd60e51b81526020600482015260136024820152721f37b9b2b0a0b6b7bab73a2832b92a37b5b2b760691b60448201526064016103ae565b5050506001600160a01b0390921660009081526005602052604090209190915550565b6008546001600160a01b031633146107f257600080fd5b60088054911515600160a01b0260ff60a01b19909216919091179055565b600260005414156108635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103ae565b6002600055600854600160a01b900460ff161561087f57600080fd5b6009546001600160a01b0316634c19eb686108a06040840160208501610f98565b6040518263ffffffff1660e01b81526004016108bc919061105a565b602060405180830381600087803b1580156108d657600080fd5b505af11580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e91906110c5565b61091757600080fd5b60006109296040830160208401610f98565b9050600061093a6020840184610f98565b905060006001600160a01b038316638147ef3761095d60a08701608088016111a9565b6040516001600160e01b031960e084901b16815260ff909116600482015260240160206040518083038186803b15801561099657600080fd5b505afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce91906111cc565b905060006109e260608601604087016111e5565b6109f19062ffffff168361112d565b905060015481610a0191906110f8565b3414610a395760405162461bcd60e51b8152602060048201526007602482015266213d707269636560c81b60448201526064016103ae565b6000600481610a4e6040890160208a01610f98565b6001600160a01b031681526020810191909152604001600020546002546007549192509060ff168015610a815750600082115b15610bc65750600080610a9a6060890160408a016111e5565b62ffffff1660056000610ab360408c0160208d01610f98565b6001600160a01b03166001600160a01b0316815260200190815260200160002054610ade919061112d565b90506000818411610aef5783610af1565b815b60035460405163a9059cbb60e01b81526001600160a01b038a811660048301526024820184905292935091169063a9059cbb90604401602060405180830381600087803b158015610b4157600080fd5b505af1158015610b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7991906110c5565b508060046000610b8f60408d0160208e01610f98565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610bbe919061116e565b909155505050505b8215610d875760006064610bda838261116e565b610be4908661112d565b610bee919061114c565b90506000876001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2b57600080fd5b505afa158015610c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c639190611110565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610cad576040519150601f19603f3d011682016040523d82523d6000602084013e610cb2565b606091505b5050905080610ce95760405162461bcd60e51b815260206004820152600360248201526221703160e81b60448201526064016103ae565b60075460009061010090046001600160a01b0316610d07843461116e565b604051600081818185875af1925050503d8060008114610d43576040519150601f19603f3d011682016040523d82523d6000602084013e610d48565b606091505b5050905080610d7f5760405162461bcd60e51b815260206004820152600360248201526210b81960e91b60448201526064016103ae565b505050610e17565b60075460405160009161010090046001600160a01b03169034908381818185875af1925050503d8060008114610dd9576040519150601f19603f3d011682016040523d82523d6000602084013e610dde565b606091505b5050905080610e155760405162461bcd60e51b815260206004820152600360248201526221703360e81b60448201526064016103ae565b505b60006001600160a01b03871663d112fe3387610e3960608c0160408d016111e5565b610e4660608d018d61120a565b8d6080016020810190610e5991906111a9565b6040518663ffffffff1660e01b8152600401610e7995949392919061125a565b602060405180830381600087803b158015610e9357600080fd5b505af1158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb91906111cc565b90506000610edc60a08a018a6112c3565b90501115610f74576001600160a01b038616638bdbab16610f0360408b0160208c01610f98565b610f1360608c0160408d016111e5565b84610f2160a08e018e6112c3565b6040518663ffffffff1660e01b8152600401610f41959493929190611309565b600060405180830381600087803b158015610f5b57600080fd5b505af1158015610f6f573d6000803e3d6000fd5b505050505b50506001600055505050505050565b6001600160a01b03811681146103b757600080fd5b600060208284031215610faa57600080fd5b8135610fb581610f83565b9392505050565b600060208284031215610fce57600080fd5b5035919050565b80151581146103b757600080fd5b600080600060608486031215610ff857600080fd5b833561100381610f83565b925060208401359150604084013561101a81610fd5565b809150509250925092565b60008060006060848603121561103a57600080fd5b833561104581610f83565b95602085013595506040909401359392505050565b6001600160a01b0391909116815260200190565b60006020828403121561108057600080fd5b8135610fb581610fd5565b60006020828403121561109d57600080fd5b81356001600160401b038111156110b357600080fd5b820160c08185031215610fb557600080fd5b6000602082840312156110d757600080fd5b8151610fb581610fd5565b634e487b7160e01b600052601160045260246000fd5b6000821982111561110b5761110b6110e2565b500190565b60006020828403121561112257600080fd5b8151610fb581610f83565b6000816000190483118215151615611147576111476110e2565b500290565b60008261116957634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611180576111806110e2565b500390565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000602082840312156111bb57600080fd5b813560ff81168114610fb557600080fd5b6000602082840312156111de57600080fd5b5051919050565b6000602082840312156111f757600080fd5b813562ffffff81168114610fb557600080fd5b6000808335601e1984360301811261122157600080fd5b8301803591506001600160401b0382111561123b57600080fd5b6020019150600581901b360382131561125357600080fd5b9250929050565b6001600160a01b038616815262ffffff85166020820152608060408201819052810183905260006001600160fb1b0384111561129557600080fd5b8360051b808660a085013760a0818401019050600081528091505060ff831660608301529695505050505050565b6000808335601e198436030181126112da57600080fd5b8301803591506001600160401b038211156112f457600080fd5b60200191503681900382131561125357600080fd5b6001600160a01b038616815262ffffff85166020820152604081018490526080606082018190528101829052818360a0830137600081830160a090810191909152601f909201601f1916010194935050505056fea264697066735822122097d23234e2f0ef24cd391981cd1d2d89a4bd365cb6872f9a934d70971447820e64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005a761e70021d0ce30981a92745f6f95afc354281
-----Decoded View---------------
Arg [0] : factory_ (address): 0x5A761E70021d0cE30981a92745F6F95AFc354281
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005a761e70021d0ce30981a92745f6f95afc354281
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.