Source Code
Overview
ETH Balance
ETH Value
$0.00Latest 16 from a total of 16 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 14770831 | 371 days ago | IN | 0.00004399 ETH | 0.00000151 | ||||
| Transfer | 13939780 | 392 days ago | IN | 0.000899 ETH | 0.00000235 | ||||
| Transfer | 13939732 | 392 days ago | IN | 0.00089423 ETH | 0.00000237 | ||||
| Transfer | 13939713 | 392 days ago | IN | 0.00089411 ETH | 0.00000372 | ||||
| Transfer | 13826067 | 395 days ago | IN | 0.00098385 ETH | 0.00000148 | ||||
| Transfer | 13824120 | 395 days ago | IN | 0.00098533 ETH | 0.00000175 | ||||
| Transfer | 13398349 | 405 days ago | IN | 0.0002 ETH | 0.00000457 | ||||
| Transfer | 13398275 | 405 days ago | IN | 0.0002 ETH | 0.00000632 | ||||
| Transfer | 12867711 | 418 days ago | IN | 0.0001 ETH | 0.00000744 | ||||
| Transfer | 12867693 | 418 days ago | IN | 0.0001 ETH | 0.00000742 | ||||
| Transfer | 12841708 | 418 days ago | IN | 0.0005 ETH | 0.00001237 | ||||
| Transfer | 12090755 | 436 days ago | IN | 0.0005 ETH | 0.00000621 | ||||
| Transfer | 12090629 | 436 days ago | IN | 0.0005 ETH | 0.00000596 | ||||
| Transfer | 12062744 | 437 days ago | IN | 0.0001 ETH | 0.00000998 | ||||
| Transfer | 12043491 | 437 days ago | IN | 0.001 ETH | 0.00001098 | ||||
| Transfer | 10486899 | 474 days ago | IN | 0.0006 ETH | 0.00000509 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 28318281 | 4 hrs ago | 0 ETH | ||||
| 28318281 | 4 hrs ago | 0 ETH | ||||
| 28318281 | 4 hrs ago | 0 ETH | ||||
| 28316153 | 5 hrs ago | 0 ETH | ||||
| 28316153 | 5 hrs ago | 0 ETH | ||||
| 28316153 | 5 hrs ago | 0 ETH | ||||
| 28314844 | 6 hrs ago | 0 ETH | ||||
| 28314844 | 6 hrs ago | 0 ETH | ||||
| 28314844 | 6 hrs ago | 0 ETH | ||||
| 28309549 | 9 hrs ago | 0 ETH | ||||
| 28309549 | 9 hrs ago | 0 ETH | ||||
| 28309549 | 9 hrs ago | 0 ETH | ||||
| 28309401 | 10 hrs ago | 0 ETH | ||||
| 28309401 | 10 hrs ago | 0 ETH | ||||
| 28309401 | 10 hrs ago | 0 ETH | ||||
| 28307875 | 11 hrs ago | 0 ETH | ||||
| 28307875 | 11 hrs ago | 0 ETH | ||||
| 28307875 | 11 hrs ago | 0 ETH | ||||
| 28306385 | 12 hrs ago | 0 ETH | ||||
| 28306385 | 12 hrs ago | 0 ETH | ||||
| 28306385 | 12 hrs ago | 0 ETH | ||||
| 28304308 | 13 hrs ago | 0 ETH | ||||
| 28304308 | 13 hrs ago | 0 ETH | ||||
| 28304308 | 13 hrs ago | 0 ETH | ||||
| 28302472 | 14 hrs ago | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
VoucherRouter
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 100000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import {MessageHashUtils} from "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol";
import {VoucherLib} from "./VoucherLib.sol";
import {IVoucher} from "./interfaces/IVoucher.sol";
import {IVoucherExecutor} from "./interfaces/IVoucherExecutor.sol";
contract VoucherRouter is IVoucher, Ownable2Step, ReentrancyGuard {
using MessageHashUtils for bytes32;
using ECDSA for bytes32;
using VoucherLib for IVoucher.Voucher;
address public defaultIssuer;
mapping(address executor => address issuer) public executorIssuers;
mapping(uint128 uid => bool isUsed) public usedVouchers;
constructor(address owner, address defaultIssuer_) Ownable(owner) {
if (defaultIssuer_ == address(0)) revert IVoucher.InvalidIssuer();
defaultIssuer = defaultIssuer_;
}
function setDefaultIssuer(address issuer) external onlyOwner {
if (issuer == address(0)) revert IVoucher.InvalidIssuer();
defaultIssuer = issuer;
}
function setExecutorIssuer(address executor, address issuer) external onlyOwner {
executorIssuers[executor] = issuer;
}
function use(IVoucher.Voucher[] calldata vouchers) external nonReentrant {
if (vouchers.length == 0) {
revert InvalidVouchersLength();
}
for (uint256 i = 0; i < vouchers.length; i++) {
_validateSignature(vouchers[i]);
_validateVoucher(vouchers[i]);
_routeVoucher(vouchers[i]);
emit IVoucher.Used(vouchers[i]);
}
}
function _validateSignature(IVoucher.Voucher calldata voucher) internal view {
address issuer = executorIssuers[voucher.executor];
if (issuer == address(1)) return;
if (issuer == address(0)) {
issuer = defaultIssuer;
}
address recovered = voucher.hash().toEthSignedMessageHash().recover(voucher.signature);
if (recovered != issuer) revert IVoucher.InvalidSignature();
}
function _validateVoucher(IVoucher.Voucher calldata voucher) internal view {
if (voucher.chainId != block.chainid) revert IVoucher.InvalidChainId();
if (voucher.router != address(this)) revert IVoucher.InvalidRouter();
if (voucher.executor == address(0)) revert IVoucher.InvalidExecutor();
if (block.timestamp > voucher.expireAt) revert IVoucher.VoucherExpired();
if (usedVouchers[voucher.nonce]) revert IVoucher.VoucherAlreadyUsed();
}
function _routeVoucher(IVoucher.Voucher calldata voucher) internal {
usedVouchers[voucher.nonce] = true;
IVoucherExecutor(voucher.executor).execute(voucher.beneficiary, voucher.data);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol)
pragma solidity ^0.8.20;
import {Ownable} from "./Ownable.sol";
/**
* @dev Contract module which provides access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is specified at deployment time in the constructor for `Ownable`. This
* can later be changed with {transferOwnership} and {acceptOwnership}.
*
* This module is used through inheritance. It will make available all functions
* from parent (Ownable).
*/
abstract contract Ownable2Step is Ownable {
address private _pendingOwner;
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);
/**
* @dev Returns the address of the pending owner.
*/
function pendingOwner() public view virtual returns (address) {
return _pendingOwner;
}
/**
* @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual override onlyOwner {
_pendingOwner = newOwner;
emit OwnershipTransferStarted(owner(), newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual override {
delete _pendingOwner;
super._transferOwnership(newOwner);
}
/**
* @dev The new owner accepts the ownership transfer.
*/
function acceptOwnership() public virtual {
address sender = _msgSender();
if (pendingOwner() != sender) {
revert OwnableUnauthorizedAccount(sender);
}
_transferOwnership(sender);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.20;
/**
* @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;
/**
* @dev Unauthorized reentrant call.
*/
error ReentrancyGuardReentrantCall();
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() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be NOT_ENTERED
if (_status == ENTERED) {
revert ReentrancyGuardReentrantCall();
}
// Any calls to nonReentrant after this point will fail
_status = ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.20;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS
}
/**
* @dev The signature derives the `address(0)`.
*/
error ECDSAInvalidSignature();
/**
* @dev The signature has an invalid length.
*/
error ECDSAInvalidSignatureLength(uint256 length);
/**
* @dev The signature has an S value that is in the upper half order.
*/
error ECDSAInvalidSignatureS(bytes32 s);
/**
* @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not
* return address(0) without also returning an error description. Errors are documented using an enum (error type)
* and a bytes32 providing additional information about the error.
*
* If no error is returned, then the address can be used for verification purposes.
*
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else {
return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*/
function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {
unchecked {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
// We do not check for an overflow here since the shift operation results in 0 or 1.
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*/
function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError, bytes32) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS, s);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature, bytes32(0));
}
return (signer, RecoverError.NoError, bytes32(0));
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
(address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);
_throwError(error, errorArg);
return recovered;
}
/**
* @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
*/
function _throwError(RecoverError error, bytes32 errorArg) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert ECDSAInvalidSignature();
} else if (error == RecoverError.InvalidSignatureLength) {
revert ECDSAInvalidSignatureLength(uint256(errorArg));
} else if (error == RecoverError.InvalidSignatureS) {
revert ECDSAInvalidSignatureS(errorArg);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)
pragma solidity ^0.8.20;
import {Strings} from "../Strings.sol";
/**
* @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
*
* The library provides methods for generating a hash of a message that conforms to the
* https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
* specifications.
*/
library MessageHashUtils {
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x45` (`personal_sign` messages).
*
* The digest is calculated by prefixing a bytes32 `messageHash` with
* `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
*
* NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
* keccak256, although any bytes32 value can be safely used because the final digest will
* be re-hashed.
*
* See {ECDSA-recover}.
*/
function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash
mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix
digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)
}
}
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x45` (`personal_sign` messages).
*
* The digest is calculated by prefixing an arbitrary `message` with
* `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
*
* See {ECDSA-recover}.
*/
function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {
return
keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message));
}
/**
* @dev Returns the keccak256 digest of an EIP-191 signed data with version
* `0x00` (data with intended validator).
*
* The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended
* `validator` address. Then hashing the result.
*
* See {ECDSA-recover}.
*/
function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
return keccak256(abi.encodePacked(hex"19_00", validator, data));
}
/**
* @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).
*
* The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with
* `\x19\x01` and hashing the result. It corresponds to the hash signed by the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.
*
* See {ECDSA-recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {
/// @solidity memory-safe-assembly
assembly {
let ptr := mload(0x40)
mstore(ptr, hex"19_01")
mstore(add(ptr, 0x02), domainSeparator)
mstore(add(ptr, 0x22), structHash)
digest := keccak256(ptr, 0x42)
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {IVoucher} from "./interfaces/IVoucher.sol";
library VoucherLib {
function pack(IVoucher.Voucher memory voucher) internal pure returns (bytes memory) {
return abi.encode(
voucher.chainId,
voucher.router,
voucher.executor,
voucher.beneficiary,
voucher.expireAt,
voucher.nonce,
voucher.data
);
}
function hash(IVoucher.Voucher memory voucher) internal pure returns (bytes32) {
return keccak256(pack(voucher));
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IVoucher {
error InvalidIssuer();
error InvalidSignature();
error InvalidChainId();
error InvalidRouter();
error InvalidExecutor();
error VoucherExpired();
error VoucherAlreadyUsed();
error InvalidVouchersLength();
event Used(IVoucher.Voucher voucher);
struct Voucher {
uint32 chainId;
address router;
address executor;
address beneficiary;
uint64 expireAt;
uint128 nonce;
bytes data;
bytes signature;
}
function use(IVoucher.Voucher[] calldata vouchers) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IVoucherExecutor {
error CallerIsNotRouter();
error InvalidPayload();
event Executed(address indexed beneficiary, bytes data);
function execute(address beneficiary, bytes calldata data) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)
pragma solidity ^0.8.20;
import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant HEX_DIGITS = "0123456789abcdef";
uint8 private constant ADDRESS_LENGTH = 20;
/**
* @dev The `value` string doesn't fit in the specified `length`.
*/
error StringsInsufficientHexLength(uint256 value, uint256 length);
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toStringSigned(int256 value) internal pure returns (string memory) {
return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
uint256 localValue = value;
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = HEX_DIGITS[localValue & 0xf];
localValue >>= 4;
}
if (localValue != 0) {
revert StringsInsufficientHexLength(value, length);
}
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
* representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Muldiv operation overflow.
*/
error MathOverflowedMulDiv();
enum Rounding {
Floor, // Toward negative infinity
Ceil, // Toward positive infinity
Trunc, // Toward zero
Expand // Away from zero
}
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*/
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 subtraction of two unsigned integers, with an overflow flag.
*/
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.
*/
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.
*/
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.
*/
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 largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds towards infinity instead
* of rounding towards zero.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
if (b == 0) {
// Guarantee the same behavior as in a regular Solidity division.
return a / b;
}
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
* denominator == 0.
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
* Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0 = x * y; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
if (denominator <= prod1) {
revert MathOverflowedMulDiv();
}
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator.
// Always >= 1. See https://cs.stackexchange.com/q/138556/92363.
uint256 twos = denominator & (0 - denominator);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
// works in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
* towards zero.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2 of a positive value rounded towards zero.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10 of a positive value rounded towards zero.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256 of a positive value rounded towards zero.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
}
}
/**
* @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
*/
function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
return uint8(rounding) % 2 == 1;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}{
"remappings": [
"@clearsync/=lib/clearsync/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"clearsync/=lib/clearsync/contracts/",
"ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/"
],
"optimizer": {
"enabled": true,
"runs": 100000
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": false,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"defaultIssuer_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[],"name":"InvalidChainId","type":"error"},{"inputs":[],"name":"InvalidExecutor","type":"error"},{"inputs":[],"name":"InvalidIssuer","type":"error"},{"inputs":[],"name":"InvalidRouter","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidVouchersLength","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"VoucherAlreadyUsed","type":"error"},{"inputs":[],"name":"VoucherExpired","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"uint32","name":"chainId","type":"uint32"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"executor","type":"address"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint64","name":"expireAt","type":"uint64"},{"internalType":"uint128","name":"nonce","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"indexed":false,"internalType":"struct IVoucher.Voucher","name":"voucher","type":"tuple"}],"name":"Used","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultIssuer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"executor","type":"address"}],"name":"executorIssuers","outputs":[{"internalType":"address","name":"issuer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"issuer","type":"address"}],"name":"setDefaultIssuer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"executor","type":"address"},{"internalType":"address","name":"issuer","type":"address"}],"name":"setExecutorIssuer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"chainId","type":"uint32"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"executor","type":"address"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint64","name":"expireAt","type":"uint64"},{"internalType":"uint128","name":"nonce","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct IVoucher.Voucher[]","name":"vouchers","type":"tuple[]"}],"name":"use","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"uid","type":"uint128"}],"name":"usedVouchers","outputs":[{"internalType":"bool","name":"isUsed","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5060405161175338038061175383398101604081905261002f91610142565b816001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b610067816100ba565b5060016002556001600160a01b03811661009457604051635edff10b60e11b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b039290921691909117905550610175565b600180546001600160a01b03191690556100d3816100d6565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b038116811461013d57600080fd5b919050565b6000806040838503121561015557600080fd5b61015e83610126565b915061016c60208401610126565b90509250929050565b6115cf806101846000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c806394765d6311610081578063e30c39781161005b578063e30c3978146101d3578063ec31b603146101f1578063f2fde38b1461020457600080fd5b806394765d631461014a5780639a8d0ad31461017d578063c092db0e146101b357600080fd5b8063715018a6116100b2578063715018a6146100f657806379ba5097146100fe5780638da5cb5b1461010657600080fd5b8063142cfda8146100ce578063672bfdc6146100e3575b600080fd5b6100e16100dc366004610e1d565b610217565b005b6100e16100f1366004610ebb565b61035a565b6100e16103f6565b6100e161040a565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61016d610158366004610efd565b60056020526000908152604090205460ff1681565b6040519015158152602001610141565b61012061018b366004610ebb565b60046020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6003546101209073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16610120565b6100e16101ff366004610f18565b610486565b6100e1610212366004610ebb565b6104e1565b61021f610591565b600081900361025a576040517ff170f4de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8181101561034b5761029183838381811061027a5761027a610f4b565b905060200281019061028c9190610f7a565b6105d2565b6102bd8383838181106102a6576102a6610f4b565b90506020028101906102b89190610f7a565b610776565b6102e98383838181106102d2576102d2610f4b565b90506020028101906102e49190610f7a565b610942565b7fe119867e6fc31f0cd6fded9dd3fdf7841204668080a573db5e5bd791a78cbbb083838381811061031c5761031c610f4b565b905060200281019061032e9190610f7a565b60405161033b9190611098565b60405180910390a160010161025d565b506103566001600255565b5050565b610362610a45565b73ffffffffffffffffffffffffffffffffffffffff81166103af576040517fbdbfe21600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fe610a45565b6104086000610a98565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461047a576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b61048381610a98565b50565b61048e610a45565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001691909216179055565b6104e9610a45565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561054c60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60028054036105cc576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028055565b60006004816105e76060850160408601610ebb565b73ffffffffffffffffffffffffffffffffffffffff90811682526020820192909252604001600020541690507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810161063e575050565b73ffffffffffffffffffffffffffffffffffffffff8116610674575060035473ffffffffffffffffffffffffffffffffffffffff165b600061070a61068660e08501856111e4565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061070492506106d191506106cc90508761134d565b610ac9565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b90610ae2565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610771576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b466107846020830183611421565b63ffffffff16146107c1576040517f7a47c9a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306107d26040830160208401610ebb565b73ffffffffffffffffffffffffffffffffffffffff161461081f576040517f466d7fef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006108316060830160408401610ebb565b73ffffffffffffffffffffffffffffffffffffffff160361087e576040517f710c949700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61088e60a082016080830161143c565b67ffffffffffffffff164211156108d1576040517f157fd87e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560006108e560c0840160a08501610efd565b6fffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615610483576040517fe58f39a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016005600061095860c0850160a08601610efd565b6fffffffffffffffffffffffffffffffff1681526020810191909152604090810160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016921515929092179091556109ba9060608301908301610ebb565b73ffffffffffffffffffffffffffffffffffffffff16631cff79cd6109e56080840160608501610ebb565b6109f260c08501856111e4565b6040518463ffffffff1660e01b8152600401610a1093929190611457565b600060405180830381600087803b158015610a2a57600080fd5b505af1158015610a3e573d6000803e3d6000fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610408576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610471565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561048381610b0c565b6000610ad482610b81565b805190602001209050919050565b600080600080610af28686610bd2565b925092509250610b028282610c1f565b5090949350505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816000015182602001518360400151846060015185608001518660a001518760c00151604051602001610bbc9796959493929190611490565b6040516020818303038152906040529050919050565b60008060008351604103610c0c5760208401516040850151606086015160001a610bfe88828585610d23565b955095509550505050610c18565b50508151600091506002905b9250925092565b6000826003811115610c3357610c3361156a565b03610c3c575050565b6001826003811115610c5057610c5061156a565b03610c87576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115610c9b57610c9b61156a565b03610cd5576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610471565b6003826003811115610ce957610ce961156a565b03610356576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610471565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610d5e5750600091506003905082610e13565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610db2573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116610e0957506000925060019150829050610e13565b9250600091508190505b9450945094915050565b60008060208385031215610e3057600080fd5b823567ffffffffffffffff80821115610e4857600080fd5b818501915085601f830112610e5c57600080fd5b813581811115610e6b57600080fd5b8660208260051b8501011115610e8057600080fd5b60209290920196919550909350505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610eb657600080fd5b919050565b600060208284031215610ecd57600080fd5b610ed682610e92565b9392505050565b80356fffffffffffffffffffffffffffffffff81168114610eb657600080fd5b600060208284031215610f0f57600080fd5b610ed682610edd565b60008060408385031215610f2b57600080fd5b610f3483610e92565b9150610f4260208401610e92565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01833603018112610fae57600080fd5b9190910192915050565b803563ffffffff81168114610eb657600080fd5b803567ffffffffffffffff81168114610eb657600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261101957600080fd5b830160208101925035905067ffffffffffffffff81111561103957600080fd5b80360382131561104857600080fd5b9250929050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6020815263ffffffff6110aa83610fb8565b16602082015260006110be60208401610e92565b73ffffffffffffffffffffffffffffffffffffffff81166040840152506110e760408401610e92565b73ffffffffffffffffffffffffffffffffffffffff811660608401525061111060608401610e92565b73ffffffffffffffffffffffffffffffffffffffff811660808401525061113960808401610fcc565b67ffffffffffffffff811660a08401525061115660a08401610edd565b6fffffffffffffffffffffffffffffffff811660c08401525061117c60c0840184610fe4565b6101008060e08601526111946101208601838561104f565b92506111a360e0870187610fe4565b92507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe086850301828701526111d984848361104f565b979650505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261121957600080fd5b83018035915067ffffffffffffffff82111561123457600080fd5b60200191503681900382131561104857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610100810167ffffffffffffffff8111828210171561129c5761129c611249565b60405290565b600082601f8301126112b357600080fd5b813567ffffffffffffffff808211156112ce576112ce611249565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561131457611314611249565b8160405283815286602085880101111561132d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000610100823603121561136057600080fd5b611368611278565b61137183610fb8565b815261137f60208401610e92565b602082015261139060408401610e92565b60408201526113a160608401610e92565b60608201526113b260808401610fcc565b60808201526113c360a08401610edd565b60a082015260c083013567ffffffffffffffff808211156113e357600080fd5b6113ef368387016112a2565b60c084015260e085013591508082111561140857600080fd5b50611415368286016112a2565b60e08301525092915050565b60006020828403121561143357600080fd5b610ed682610fb8565b60006020828403121561144e57600080fd5b610ed682610fcc565b73ffffffffffffffffffffffffffffffffffffffff8416815260406020820152600061148760408301848661104f565b95945050505050565b63ffffffff881681526000602073ffffffffffffffffffffffffffffffffffffffff808a166020850152808916604085015280881660608501525067ffffffffffffffff861660808401526fffffffffffffffffffffffffffffffff851660a084015260e060c084015283518060e085015260005b818110156115225785810183015185820161010001528201611505565b5061010091506000828286010152817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505098975050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220997c75a1fa67dbee4e3b546c5900aee121ae4d0f7e21242d70271f5fd539016664736f6c63430008190033000000000000000000000000994f90a29fd7b60d49b48b9bc3163e297caa97d90000000000000000000000000ae441d4cc3c819cd1cb744b5fa5a5084ccadb22
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100c95760003560e01c806394765d6311610081578063e30c39781161005b578063e30c3978146101d3578063ec31b603146101f1578063f2fde38b1461020457600080fd5b806394765d631461014a5780639a8d0ad31461017d578063c092db0e146101b357600080fd5b8063715018a6116100b2578063715018a6146100f657806379ba5097146100fe5780638da5cb5b1461010657600080fd5b8063142cfda8146100ce578063672bfdc6146100e3575b600080fd5b6100e16100dc366004610e1d565b610217565b005b6100e16100f1366004610ebb565b61035a565b6100e16103f6565b6100e161040a565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61016d610158366004610efd565b60056020526000908152604090205460ff1681565b6040519015158152602001610141565b61012061018b366004610ebb565b60046020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6003546101209073ffffffffffffffffffffffffffffffffffffffff1681565b60015473ffffffffffffffffffffffffffffffffffffffff16610120565b6100e16101ff366004610f18565b610486565b6100e1610212366004610ebb565b6104e1565b61021f610591565b600081900361025a576040517ff170f4de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8181101561034b5761029183838381811061027a5761027a610f4b565b905060200281019061028c9190610f7a565b6105d2565b6102bd8383838181106102a6576102a6610f4b565b90506020028101906102b89190610f7a565b610776565b6102e98383838181106102d2576102d2610f4b565b90506020028101906102e49190610f7a565b610942565b7fe119867e6fc31f0cd6fded9dd3fdf7841204668080a573db5e5bd791a78cbbb083838381811061031c5761031c610f4b565b905060200281019061032e9190610f7a565b60405161033b9190611098565b60405180910390a160010161025d565b506103566001600255565b5050565b610362610a45565b73ffffffffffffffffffffffffffffffffffffffff81166103af576040517fbdbfe21600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6103fe610a45565b6104086000610a98565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461047a576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b61048381610a98565b50565b61048e610a45565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001691909216179055565b6104e9610a45565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561054c60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60028054036105cc576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028055565b60006004816105e76060850160408601610ebb565b73ffffffffffffffffffffffffffffffffffffffff90811682526020820192909252604001600020541690507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff810161063e575050565b73ffffffffffffffffffffffffffffffffffffffff8116610674575060035473ffffffffffffffffffffffffffffffffffffffff165b600061070a61068660e08501856111e4565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061070492506106d191506106cc90508761134d565b610ac9565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b90610ae2565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610771576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b466107846020830183611421565b63ffffffff16146107c1576040517f7a47c9a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306107d26040830160208401610ebb565b73ffffffffffffffffffffffffffffffffffffffff161461081f576040517f466d7fef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006108316060830160408401610ebb565b73ffffffffffffffffffffffffffffffffffffffff160361087e576040517f710c949700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61088e60a082016080830161143c565b67ffffffffffffffff164211156108d1576040517f157fd87e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560006108e560c0840160a08501610efd565b6fffffffffffffffffffffffffffffffff16815260208101919091526040016000205460ff1615610483576040517fe58f39a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016005600061095860c0850160a08601610efd565b6fffffffffffffffffffffffffffffffff1681526020810191909152604090810160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016921515929092179091556109ba9060608301908301610ebb565b73ffffffffffffffffffffffffffffffffffffffff16631cff79cd6109e56080840160608501610ebb565b6109f260c08501856111e4565b6040518463ffffffff1660e01b8152600401610a1093929190611457565b600060405180830381600087803b158015610a2a57600080fd5b505af1158015610a3e573d6000803e3d6000fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610408576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610471565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561048381610b0c565b6000610ad482610b81565b805190602001209050919050565b600080600080610af28686610bd2565b925092509250610b028282610c1f565b5090949350505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816000015182602001518360400151846060015185608001518660a001518760c00151604051602001610bbc9796959493929190611490565b6040516020818303038152906040529050919050565b60008060008351604103610c0c5760208401516040850151606086015160001a610bfe88828585610d23565b955095509550505050610c18565b50508151600091506002905b9250925092565b6000826003811115610c3357610c3361156a565b03610c3c575050565b6001826003811115610c5057610c5061156a565b03610c87576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002826003811115610c9b57610c9b61156a565b03610cd5576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610471565b6003826003811115610ce957610ce961156a565b03610356576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610471565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610d5e5750600091506003905082610e13565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610db2573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116610e0957506000925060019150829050610e13565b9250600091508190505b9450945094915050565b60008060208385031215610e3057600080fd5b823567ffffffffffffffff80821115610e4857600080fd5b818501915085601f830112610e5c57600080fd5b813581811115610e6b57600080fd5b8660208260051b8501011115610e8057600080fd5b60209290920196919550909350505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610eb657600080fd5b919050565b600060208284031215610ecd57600080fd5b610ed682610e92565b9392505050565b80356fffffffffffffffffffffffffffffffff81168114610eb657600080fd5b600060208284031215610f0f57600080fd5b610ed682610edd565b60008060408385031215610f2b57600080fd5b610f3483610e92565b9150610f4260208401610e92565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01833603018112610fae57600080fd5b9190910192915050565b803563ffffffff81168114610eb657600080fd5b803567ffffffffffffffff81168114610eb657600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261101957600080fd5b830160208101925035905067ffffffffffffffff81111561103957600080fd5b80360382131561104857600080fd5b9250929050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6020815263ffffffff6110aa83610fb8565b16602082015260006110be60208401610e92565b73ffffffffffffffffffffffffffffffffffffffff81166040840152506110e760408401610e92565b73ffffffffffffffffffffffffffffffffffffffff811660608401525061111060608401610e92565b73ffffffffffffffffffffffffffffffffffffffff811660808401525061113960808401610fcc565b67ffffffffffffffff811660a08401525061115660a08401610edd565b6fffffffffffffffffffffffffffffffff811660c08401525061117c60c0840184610fe4565b6101008060e08601526111946101208601838561104f565b92506111a360e0870187610fe4565b92507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe086850301828701526111d984848361104f565b979650505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261121957600080fd5b83018035915067ffffffffffffffff82111561123457600080fd5b60200191503681900382131561104857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610100810167ffffffffffffffff8111828210171561129c5761129c611249565b60405290565b600082601f8301126112b357600080fd5b813567ffffffffffffffff808211156112ce576112ce611249565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561131457611314611249565b8160405283815286602085880101111561132d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000610100823603121561136057600080fd5b611368611278565b61137183610fb8565b815261137f60208401610e92565b602082015261139060408401610e92565b60408201526113a160608401610e92565b60608201526113b260808401610fcc565b60808201526113c360a08401610edd565b60a082015260c083013567ffffffffffffffff808211156113e357600080fd5b6113ef368387016112a2565b60c084015260e085013591508082111561140857600080fd5b50611415368286016112a2565b60e08301525092915050565b60006020828403121561143357600080fd5b610ed682610fb8565b60006020828403121561144e57600080fd5b610ed682610fcc565b73ffffffffffffffffffffffffffffffffffffffff8416815260406020820152600061148760408301848661104f565b95945050505050565b63ffffffff881681526000602073ffffffffffffffffffffffffffffffffffffffff808a166020850152808916604085015280881660608501525067ffffffffffffffff861660808401526fffffffffffffffffffffffffffffffff851660a084015260e060c084015283518060e085015260005b818110156115225785810183015185820161010001528201611505565b5061010091506000828286010152817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505098975050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220997c75a1fa67dbee4e3b546c5900aee121ae4d0f7e21242d70271f5fd539016664736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000994f90a29fd7b60d49b48b9bc3163e297caa97d90000000000000000000000000ae441d4cc3c819cd1cb744b5fa5a5084ccadb22
-----Decoded View---------------
Arg [0] : owner (address): 0x994f90a29fD7B60D49b48b9bC3163E297Caa97D9
Arg [1] : defaultIssuer_ (address): 0x0Ae441d4CC3c819CD1cb744b5fa5a5084ccaDb22
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000994f90a29fd7b60d49b48b9bc3163e297caa97d9
Arg [1] : 0000000000000000000000000ae441d4cc3c819cd1cb744b5fa5a5084ccadb22
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$14.28
Net Worth in ETH
Token Allocations
NIAO
65.56%
USDT0
21.32%
POL
13.06%
Others
0.06%
Multichain Portfolio | 35 Chains
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.