Overview
ETH Balance
ETH Value
$0.00Latest 9 from a total of 9 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Request Purchase | 6363660 | 552 days ago | IN | 0.0000581 ETH | 0.00000004 | ||||
| Request Purchase | 6363170 | 552 days ago | IN | 0.00005806 ETH | 0 | ||||
| Request Purchase | 6346348 | 553 days ago | IN | 0.00023067 ETH | 0.00000011 | ||||
| Request Purchase | 6346326 | 553 days ago | IN | 0.00005769 ETH | 0.00000004 | ||||
| Request Purchase | 6333486 | 553 days ago | IN | 0.0000585 ETH | 0.00000001 | ||||
| Request Purchase | 6332038 | 553 days ago | IN | 0.00005846 ETH | 0.00000031 | ||||
| Request Purchase | 6330689 | 553 days ago | IN | 0.00005851 ETH | 0.00000031 | ||||
| Request Purchase | 6326143 | 553 days ago | IN | 0.00058387 ETH | 0.00000001 | ||||
| Request Purchase | 6326123 | 553 days ago | IN | 0.00005839 ETH | 0.00000013 |
Latest 19 internal transactions
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 6363660 | 552 days ago | 0.00000113 ETH | ||||
| 6363660 | 552 days ago | 0.00005697 ETH | ||||
| 6363170 | 552 days ago | 0.00000113 ETH | ||||
| 6363170 | 552 days ago | 0.00005693 ETH | ||||
| 6346348 | 553 days ago | 0.00000452 ETH | ||||
| 6346348 | 553 days ago | 0.00022615 ETH | ||||
| 6346326 | 553 days ago | 0.00000113 ETH | ||||
| 6346326 | 553 days ago | 0.00005656 ETH | ||||
| 6333486 | 553 days ago | 0.00000114 ETH | ||||
| 6333486 | 553 days ago | 0.00005735 ETH | ||||
| 6332038 | 553 days ago | 0.00000114 ETH | ||||
| 6332038 | 553 days ago | 0.00005731 ETH | ||||
| 6330689 | 553 days ago | 0.00000114 ETH | ||||
| 6330689 | 553 days ago | 0.00005737 ETH | ||||
| 6326143 | 553 days ago | 0.00001144 ETH | ||||
| 6326143 | 553 days ago | 0.00057243 ETH | ||||
| 6326123 | 553 days ago | 0.00000114 ETH | ||||
| 6326123 | 553 days ago | 0.00005724 ETH | ||||
| 5768705 | 566 days ago | Contract Creation | 0 ETH |
Cross-Chain Transactions
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "../MicroUtilityV4.sol";
interface MicroNFT {
struct SaleConfiguration {
uint64 editionSize;
uint16 profitSharing;
address payable fundsRecipient;
uint256 publicSalePrice;
uint32 maxSalePurchasePerAddress;
uint64 publicSaleStart;
uint64 publicSaleEnd;
bytes32 presaleMerkleRoot;
bool cancelable;
}
function saleConfig() external view returns (SaleConfiguration memory);
function purchase(address minter, uint256 quantity)
external
returns (uint256);
function purchasePresale(
address minter,
uint256 quantity,
bytes32[] calldata merkleProof
) external returns (uint256);
}
contract MicroGateway is ReentrancyGuard, MicroUtilityV4 {
using SafeMath for uint256;
address public owner;
bool private _initialized;
error PurchaseWrongPrice(uint256 correctPrice);
error Unauthorized();
event NewCollectionMinted(
address indexed sender,
address indexed contractAddress,
uint256 quantity
);
event FundsWithdrawn(
address indexed sender,
address indexed fundsRecipient,
uint256 fund
);
function init(bytes memory initPayload) external returns (bool) {
if (_initialized) {
revert Unauthorized();
}
(address _owner, address _manager) = abi.decode(
initPayload,
(address, address)
);
owner = _owner;
_setManager(_manager);
_initialized = true;
return true;
}
function requestPurchase(address nftAddress, uint256 quantity)
external
payable
nonReentrant
{
address minter = msg.sender;
_isMinting(minter, nftAddress, quantity);
MicroNFT(nftAddress).purchase(minter, quantity);
emit NewCollectionMinted(minter, nftAddress, quantity);
}
function requestPresale(
address nftAddress,
uint256 quantity,
bytes32[] calldata merkleProof
) external payable nonReentrant {
address minter = msg.sender;
_isMinting(minter, nftAddress, quantity);
MicroNFT(nftAddress).purchasePresale(minter, quantity, merkleProof);
emit NewCollectionMinted(minter, nftAddress, quantity);
}
function _payoutFundingRaise(uint256 totalPurchase, address fundsRecipient)
internal
returns (bool)
{
if (fundsRecipient == address(0) || totalPurchase == 0) {
return false;
}
_payoutRemainder(fundsRecipient, totalPurchase);
emit FundsWithdrawn(msg.sender, fundsRecipient, totalPurchase);
return true;
}
function _isMinting(address minter, address nftAddress, uint256 quantity) internal {
MicroNFT.SaleConfiguration memory saleConfig = MicroNFT(nftAddress)
.saleConfig();
uint256 salePrice = saleConfig.publicSalePrice.mul(quantity);
uint256 protocolFee = getMicroFeeWei(quantity);
uint256 totalFee = salePrice.add(protocolFee);
if (msg.value < totalFee) {
revert PurchaseWrongPrice(totalFee);
}
_payoutMicroFee(protocolFee);
_payoutFundingRaise(salePrice, saleConfig.fundsRecipient);
_payoutRemainder(minter, msg.value.sub(totalFee));
}
function editManager(address _manager) external {
if (msg.sender != owner) {
revert Unauthorized();
}
_setManager(_manager);
}
}// 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;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.0;
interface IMicroManager {
function microBridge(address _address) external view returns (bool);
function treasuryAddress() external view returns (address);
function microProtocolFee() external view returns (uint256);
function oracleAddress() external view returns (address);
}// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
interface IPriceOracle {
function convertUsdToWei(uint256 usdAmount) external view returns (uint256 weiAmount);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {IPriceOracle} from "./interfaces/IPriceOracle.sol";
import {IMicroManager} from "./interfaces/IMicroManager.sol";
error PaymentFailed();
contract MicroUtilityV4 {
using SafeMath for uint256;
IMicroManager public microManager;
uint256 private constant STATIC_GAS_LIMIT = 210_000;
event FeePayout(
uint256 MicroMintFeeWei,
address MicroFeeRecipient,
bool success
);
/**
* PUBLIC FUNCTIONS
* state changing
*/
function getMicroFeeWei(uint256 quantity) public view returns (uint256) {
if (quantity == 0) {
return 0;
}
return
IPriceOracle(microManager.oracleAddress()).convertUsdToWei(
microManager.microProtocolFee().mul(quantity)
);
}
function _payoutMicroFee(uint256 microProtocolFee) internal {
address treasury = microManager.treasuryAddress();
_payoutRemainder(treasury, microProtocolFee);
emit FeePayout(microProtocolFee, treasury, true);
}
function _setManager(address _manager) internal {
microManager = IMicroManager(_manager);
}
function _payoutRemainder(address recipient, uint256 value) internal {
if (value > 0) {
(bool success, ) = payable(recipient).call{
value: value,
gas: gasleft() > STATIC_GAS_LIMIT ? STATIC_GAS_LIMIT : gasleft()
}("");
if (!success) {
revert PaymentFailed();
}
}
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"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":[],"name":"PaymentFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"correctPrice","type":"uint256"}],"name":"PurchaseWrongPrice","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"MicroMintFeeWei","type":"uint256"},{"indexed":false,"internalType":"address","name":"MicroFeeRecipient","type":"address"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"FeePayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"fundsRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"fund","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"NewCollectionMinted","type":"event"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"editManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"getMicroFeeWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"initPayload","type":"bytes"}],"name":"init","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"microManager","outputs":[{"internalType":"contract IMicroManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"requestPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"requestPurchase","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506001600055610d86806100256000396000f3fe6080604052600436106100705760003560e01c8063616985ed1161004e578063616985ed146100f757806387031fe5146101255780638da5cb5b14610145578063cd5954fc1461016557600080fd5b80630e21ea06146100755780634ddf47d4146100b25780635e752eb4146100e2575b600080fd5b34801561008157600080fd5b50600154610095906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100be57600080fd5b506100d26100cd36600461096d565b610178565b60405190151581526020016100a9565b6100f56100f0366004610a33565b610202565b005b34801561010357600080fd5b50610117610112366004610a5f565b610335565b6040519081526020016100a9565b34801561013157600080fd5b506100f5610140366004610a78565b6104b2565b34801561015157600080fd5b50600254610095906001600160a01b031681565b6100f5610173366004610a95565b6104e8565b600254600090600160a01b900460ff16156101a5576040516282b42960e81b815260040160405180910390fd5b600080838060200190518101906101bc9190610b31565b600280546001600160a01b0319166001600160a01b03841617905590925090506101e58161061a565b50506002805460ff60a01b1916600160a01b179055506001919050565b6002600054036102595760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026000553361026a81848461063c565b6040516346f4991160e11b81526001600160a01b03828116600483015260248201849052841690638de93222906044016020604051808303816000875af11580156102b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102dd9190610b6b565b50826001600160a01b0316816001600160a01b03167fa7b01104a6b6c5840d976794ca3cdc03532966d0b58b7799a9202d093e152ad08460405161032391815260200190565b60405180910390a35050600160005550565b60008160000361034757506000919050565b600160009054906101000a90046001600160a01b03166001600160a01b031663a89ae4ba6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be9190610b84565b6001600160a01b031663f5d7816161044d84600160009054906101000a90046001600160a01b03166001600160a01b0316630c1119bb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610423573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104479190610b6b565b90610731565b6040518263ffffffff1660e01b815260040161046b91815260200190565b602060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190610b6b565b92915050565b6002546001600160a01b031633146104dc576040516282b42960e81b815260040160405180910390fd5b6104e58161061a565b50565b60026000540361053a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610250565b60026000553361054b81868661063c565b6040516341def22360e11b81526001600160a01b038616906383bde4469061057d908490889088908890600401610ba1565b6020604051808303816000875af115801561059c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c09190610b6b565b50846001600160a01b0316816001600160a01b03167fa7b01104a6b6c5840d976794ca3cdc03532966d0b58b7799a9202d093e152ad08660405161060691815260200190565b60405180910390a350506001600055505050565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000826001600160a01b03166390aa0b0f6040518163ffffffff1660e01b815260040161012060405180830381865afa15801561067d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a19190610c44565b905060006106bc83836060015161073190919063ffffffff16565b905060006106c984610335565b905060006106d78383610744565b9050803410156106fd5760405163c5a8df2f60e01b815260048101829052602401610250565b61070682610750565b610714838560400151610816565b5061072887610723348461088c565b610898565b50505050505050565b600061073d8284610d02565b9392505050565b600061073d8284610d21565b6001546040805163c5f956af60e01b815290516000926001600160a01b03169163c5f956af9160048083019260209291908290030181865afa15801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190610b84565b90506107ca8183610898565b604080518381526001600160a01b038316602082015260018183015290517f7d91e6735310f2a10253c2b777a07cdd5bce000456de934af23dfc9e4aea7f879181900360600190a15050565b60006001600160a01b038216158061082c575082155b15610839575060006104ac565b6108438284610898565b6040518381526001600160a01b0383169033907fa92ff919b850e4909ab2261d907ef955f11bc1716733a6cbece38d163a69af8a9060200160405180910390a350600192915050565b600061073d8284610d39565b8015610929576000826001600160a01b031682620334505a116108bb575a6108c0565b620334505b6040519091906000818181858888f193505050503d8060008114610900576040519150601f19603f3d011682016040523d82523d6000602084013e610905565b606091505b5050905080610927576040516307a4ced160e51b815260040160405180910390fd5b505b5050565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156109675761096761092d565b60405290565b60006020828403121561097f57600080fd5b813567ffffffffffffffff8082111561099757600080fd5b818401915084601f8301126109ab57600080fd5b8135818111156109bd576109bd61092d565b604051601f8201601f19908116603f011681019083821181831017156109e5576109e561092d565b816040528281528760208487010111156109fe57600080fd5b826020860160208301376000928101602001929092525095945050505050565b6001600160a01b03811681146104e557600080fd5b60008060408385031215610a4657600080fd5b8235610a5181610a1e565b946020939093013593505050565b600060208284031215610a7157600080fd5b5035919050565b600060208284031215610a8a57600080fd5b813561073d81610a1e565b60008060008060608587031215610aab57600080fd5b8435610ab681610a1e565b935060208501359250604085013567ffffffffffffffff80821115610ada57600080fd5b818701915087601f830112610aee57600080fd5b813581811115610afd57600080fd5b8860208260051b8501011115610b1257600080fd5b95989497505060200194505050565b8051610b2c81610a1e565b919050565b60008060408385031215610b4457600080fd5b8251610b4f81610a1e565b6020840151909250610b6081610a1e565b809150509250929050565b600060208284031215610b7d57600080fd5b5051919050565b600060208284031215610b9657600080fd5b815161073d81610a1e565b6001600160a01b038516815260208101849052606060408201819052810182905260006001600160fb1b03831115610bd857600080fd5b8260051b808560808501376000920160800191825250949350505050565b805167ffffffffffffffff81168114610b2c57600080fd5b805161ffff81168114610b2c57600080fd5b805163ffffffff81168114610b2c57600080fd5b80518015158114610b2c57600080fd5b60006101208284031215610c5757600080fd5b610c5f610943565b610c6883610bf6565b8152610c7660208401610c0e565b6020820152610c8760408401610b21565b604082015260608301516060820152610ca260808401610c20565b6080820152610cb360a08401610bf6565b60a0820152610cc460c08401610bf6565b60c082015260e083015160e0820152610100610ce1818501610c34565b908201529392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610d1c57610d1c610cec565b500290565b60008219821115610d3457610d34610cec565b500190565b600082821015610d4b57610d4b610cec565b50039056fea26469706673582212200430fc25f0980c49a14432d8cac16b35ee4762c2ac94bc10698b30ad30a6c30764736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106100705760003560e01c8063616985ed1161004e578063616985ed146100f757806387031fe5146101255780638da5cb5b14610145578063cd5954fc1461016557600080fd5b80630e21ea06146100755780634ddf47d4146100b25780635e752eb4146100e2575b600080fd5b34801561008157600080fd5b50600154610095906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100be57600080fd5b506100d26100cd36600461096d565b610178565b60405190151581526020016100a9565b6100f56100f0366004610a33565b610202565b005b34801561010357600080fd5b50610117610112366004610a5f565b610335565b6040519081526020016100a9565b34801561013157600080fd5b506100f5610140366004610a78565b6104b2565b34801561015157600080fd5b50600254610095906001600160a01b031681565b6100f5610173366004610a95565b6104e8565b600254600090600160a01b900460ff16156101a5576040516282b42960e81b815260040160405180910390fd5b600080838060200190518101906101bc9190610b31565b600280546001600160a01b0319166001600160a01b03841617905590925090506101e58161061a565b50506002805460ff60a01b1916600160a01b179055506001919050565b6002600054036102595760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026000553361026a81848461063c565b6040516346f4991160e11b81526001600160a01b03828116600483015260248201849052841690638de93222906044016020604051808303816000875af11580156102b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102dd9190610b6b565b50826001600160a01b0316816001600160a01b03167fa7b01104a6b6c5840d976794ca3cdc03532966d0b58b7799a9202d093e152ad08460405161032391815260200190565b60405180910390a35050600160005550565b60008160000361034757506000919050565b600160009054906101000a90046001600160a01b03166001600160a01b031663a89ae4ba6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be9190610b84565b6001600160a01b031663f5d7816161044d84600160009054906101000a90046001600160a01b03166001600160a01b0316630c1119bb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610423573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104479190610b6b565b90610731565b6040518263ffffffff1660e01b815260040161046b91815260200190565b602060405180830381865afa158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190610b6b565b92915050565b6002546001600160a01b031633146104dc576040516282b42960e81b815260040160405180910390fd5b6104e58161061a565b50565b60026000540361053a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610250565b60026000553361054b81868661063c565b6040516341def22360e11b81526001600160a01b038616906383bde4469061057d908490889088908890600401610ba1565b6020604051808303816000875af115801561059c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c09190610b6b565b50846001600160a01b0316816001600160a01b03167fa7b01104a6b6c5840d976794ca3cdc03532966d0b58b7799a9202d093e152ad08660405161060691815260200190565b60405180910390a350506001600055505050565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000826001600160a01b03166390aa0b0f6040518163ffffffff1660e01b815260040161012060405180830381865afa15801561067d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a19190610c44565b905060006106bc83836060015161073190919063ffffffff16565b905060006106c984610335565b905060006106d78383610744565b9050803410156106fd5760405163c5a8df2f60e01b815260048101829052602401610250565b61070682610750565b610714838560400151610816565b5061072887610723348461088c565b610898565b50505050505050565b600061073d8284610d02565b9392505050565b600061073d8284610d21565b6001546040805163c5f956af60e01b815290516000926001600160a01b03169163c5f956af9160048083019260209291908290030181865afa15801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190610b84565b90506107ca8183610898565b604080518381526001600160a01b038316602082015260018183015290517f7d91e6735310f2a10253c2b777a07cdd5bce000456de934af23dfc9e4aea7f879181900360600190a15050565b60006001600160a01b038216158061082c575082155b15610839575060006104ac565b6108438284610898565b6040518381526001600160a01b0383169033907fa92ff919b850e4909ab2261d907ef955f11bc1716733a6cbece38d163a69af8a9060200160405180910390a350600192915050565b600061073d8284610d39565b8015610929576000826001600160a01b031682620334505a116108bb575a6108c0565b620334505b6040519091906000818181858888f193505050503d8060008114610900576040519150601f19603f3d011682016040523d82523d6000602084013e610905565b606091505b5050905080610927576040516307a4ced160e51b815260040160405180910390fd5b505b5050565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156109675761096761092d565b60405290565b60006020828403121561097f57600080fd5b813567ffffffffffffffff8082111561099757600080fd5b818401915084601f8301126109ab57600080fd5b8135818111156109bd576109bd61092d565b604051601f8201601f19908116603f011681019083821181831017156109e5576109e561092d565b816040528281528760208487010111156109fe57600080fd5b826020860160208301376000928101602001929092525095945050505050565b6001600160a01b03811681146104e557600080fd5b60008060408385031215610a4657600080fd5b8235610a5181610a1e565b946020939093013593505050565b600060208284031215610a7157600080fd5b5035919050565b600060208284031215610a8a57600080fd5b813561073d81610a1e565b60008060008060608587031215610aab57600080fd5b8435610ab681610a1e565b935060208501359250604085013567ffffffffffffffff80821115610ada57600080fd5b818701915087601f830112610aee57600080fd5b813581811115610afd57600080fd5b8860208260051b8501011115610b1257600080fd5b95989497505060200194505050565b8051610b2c81610a1e565b919050565b60008060408385031215610b4457600080fd5b8251610b4f81610a1e565b6020840151909250610b6081610a1e565b809150509250929050565b600060208284031215610b7d57600080fd5b5051919050565b600060208284031215610b9657600080fd5b815161073d81610a1e565b6001600160a01b038516815260208101849052606060408201819052810182905260006001600160fb1b03831115610bd857600080fd5b8260051b808560808501376000920160800191825250949350505050565b805167ffffffffffffffff81168114610b2c57600080fd5b805161ffff81168114610b2c57600080fd5b805163ffffffff81168114610b2c57600080fd5b80518015158114610b2c57600080fd5b60006101208284031215610c5757600080fd5b610c5f610943565b610c6883610bf6565b8152610c7660208401610c0e565b6020820152610c8760408401610b21565b604082015260608301516060820152610ca260808401610c20565b6080820152610cb360a08401610bf6565b60a0820152610cc460c08401610bf6565b60c082015260e083015160e0820152610100610ce1818501610c34565b908201529392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610d1c57610d1c610cec565b500290565b60008219821115610d3457610d34610cec565b500190565b600082821015610d4b57610d4b610cec565b50039056fea26469706673582212200430fc25f0980c49a14432d8cac16b35ee4762c2ac94bc10698b30ad30a6c30764736f6c634300080d0033
Net Worth in USD
Net Worth in ETH
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.