Source Code
Latest 25 from a total of 253 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 19717705 | 680 days ago | IN | 0 ETH | 0.0008917 | ||||
| Claim | 19354432 | 731 days ago | IN | 0 ETH | 0.00337989 | ||||
| Claim | 19345401 | 732 days ago | IN | 0 ETH | 0.00360272 | ||||
| Claim | 19296487 | 739 days ago | IN | 0 ETH | 0.0019842 | ||||
| Claim | 19296481 | 739 days ago | IN | 0 ETH | 0.00197768 | ||||
| Claim | 19266818 | 743 days ago | IN | 0 ETH | 0.00157105 | ||||
| Claim | 19208923 | 752 days ago | IN | 0 ETH | 0.00164861 | ||||
| Claim | 19197041 | 753 days ago | IN | 0 ETH | 0.00220822 | ||||
| Claim | 19065117 | 772 days ago | IN | 0 ETH | 0.00101093 | ||||
| Claim | 18854842 | 801 days ago | IN | 0 ETH | 0.0011487 | ||||
| Claim | 18672601 | 827 days ago | IN | 0 ETH | 0.00334162 | ||||
| Claim | 18616369 | 835 days ago | IN | 0 ETH | 0.00190421 | ||||
| Claim | 18616348 | 835 days ago | IN | 0 ETH | 0.00269368 | ||||
| Claim | 18577315 | 840 days ago | IN | 0 ETH | 0.00247757 | ||||
| Claim | 18566049 | 842 days ago | IN | 0 ETH | 0.00225638 | ||||
| Claim | 18491206 | 852 days ago | IN | 0 ETH | 0.00101388 | ||||
| Claim | 18483386 | 853 days ago | IN | 0 ETH | 0.00158167 | ||||
| Claim | 18483373 | 853 days ago | IN | 0 ETH | 0.00146147 | ||||
| Claim | 18376942 | 868 days ago | IN | 0 ETH | 0.00060439 | ||||
| Claim | 18376932 | 868 days ago | IN | 0 ETH | 0.00059092 | ||||
| Claim | 18376914 | 868 days ago | IN | 0 ETH | 0.00080196 | ||||
| Claim | 18376721 | 868 days ago | IN | 0 ETH | 0.00038929 | ||||
| Claim | 18376713 | 868 days ago | IN | 0 ETH | 0.00039856 | ||||
| Claim | 18376709 | 868 days ago | IN | 0 ETH | 0.00040132 | ||||
| Claim | 18376701 | 868 days ago | IN | 0 ETH | 0.00039316 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
BottoRewards
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
// Uncomment this line to use console.log
// import "hardhat/console.sol";
contract BottoRewards is AccessControl, EIP712 {
using SafeERC20 for IERC20;
bytes32 public constant REWARD_ROLE = keccak256("REWARD_ROLE");
// Invalidated permits due to being already claimed
uint256 private _permitNonce;
struct RedeemPermit {
uint256 amount; // Amount to reward
uint256 nonce; //
address currency; // using the zero address means Ether
uint256 kickoff; // block epoch timestamp in seconds when the permit is valid
uint256 deadline; // block epoch timestamp in seconds when the permit is expired
address recipient;
bytes data;
}
bytes32 public constant REDEEM_PERMIT_TYPEHASH =
keccak256(
"RedeemPermit(uint256 amount,uint256 nonce,address currency,uint256 kickoff,uint256 deadline,address recipient,bytes data)"
);
constructor() EIP712("BOTTO-REWARDS", "1.0.0") {
_grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
_grantRole(REWARD_ROLE, _msgSender());
}
function claim(
RedeemPermit calldata permit_,
address recipient_,
bytes memory signature_
) external payable {
address signer = _verify(_hash(permit_), signature_);
// Make sure that the signer is authorized to create rewards and permit is valid
require(
hasRole(REWARD_ROLE, signer),
"BottoRewards: signature invalid"
);
// Check if permit is already claimed
require(permit_.nonce >= _permitNonce, "BottoRewards: permit invalid");
// Check if permit is expired
require(
permit_.kickoff <= block.timestamp &&
permit_.deadline >= block.timestamp,
"BottoRewards: permit expired"
);
// Check if recipient matches permit
require(
recipient_ == permit_.recipient,
"BottoRewards: recipient does not match permit"
);
// Invalidate used permit
_permitNonce = permit_.nonce + 1;
// Transfer reward amount
if (permit_.currency == address(0)) {
(bool success, ) = recipient_.call{value: permit_.amount}("");
require(success, "BottoRewards: transfer failed.");
} else {
IERC20 token = IERC20(permit_.currency);
token.safeTransfer(recipient_, permit_.amount);
}
}
receive() external payable {}
function deposit(address token_, uint256 amount_) external {
IERC20 token = IERC20(token_);
token.safeTransferFrom(_msgSender(), address(this), amount_);
}
/**
* @dev see https://eips.ethereum.org/EIPS/eip-712#definition-of-encodedata
*/
function _hash(RedeemPermit memory permit_)
internal
view
returns (bytes32)
{
return
_hashTypedDataV4(
keccak256(
abi.encode(
REDEEM_PERMIT_TYPEHASH,
permit_.amount,
permit_.nonce,
permit_.currency,
permit_.kickoff,
permit_.deadline,
permit_.recipient,
keccak256(permit_.data)
)
)
);
}
/**
* @dev recover signer from `signature_`
*/
function _verify(bytes32 digest_, bytes memory signature_)
internal
pure
returns (address)
{
return ECDSA.recover(digest_, signature_);
}
/**
* @dev recover ERC20 tokens
* @param token_ The ERC20 token contract address
* @param amount_ The amount to recover
* @param recipient_ The recipient of the recovered tokens
*/
function recoverERC20(
address token_,
uint256 amount_,
address payable recipient_
) external virtual {
require(
hasRole(DEFAULT_ADMIN_ROLE, _msgSender()),
"BottoRewards: must have admin role"
);
require(amount_ > 0, "BottoRewards: invalid amount");
IERC20 token = IERC20(token_);
token.safeTransfer(recipient_, amount_);
}
/**
* @dev recover ETH
* @param amount_ The amount to recover
* @param recipient_ The recipient of the recovered tokens
*/
function recover(uint256 amount_, address payable recipient_)
external
virtual
{
require(
hasRole(DEFAULT_ADMIN_ROLE, _msgSender()),
"BottoRewards: must have admin role"
);
require(amount_ > 0, "BottoRewards: invalid amount");
(bool success, ) = recipient_.call{value: amount_}("");
require(success, "BottoRewards: transfer failed.");
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)
pragma solidity ^0.8.0;
import "./ECDSA.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712 {
/* solhint-disable var-name-mixedcase */
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
uint256 private immutable _CACHED_CHAIN_ID;
address private immutable _CACHED_THIS;
bytes32 private immutable _HASHED_NAME;
bytes32 private immutable _HASHED_VERSION;
bytes32 private immutable _TYPE_HASH;
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
bytes32 typeHash = keccak256(
"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
);
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
_CACHED_CHAIN_ID = block.chainid;
_CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
_CACHED_THIS = address(this);
_TYPE_HASH = typeHash;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
return _CACHED_DOMAIN_SEPARATOR;
} else {
return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
}
}
function _buildDomainSeparator(
bytes32 typeHash,
bytes32 nameHash,
bytes32 versionHash
) private view returns (bytes32) {
return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @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,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode 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 {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]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
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);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode 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 {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
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]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
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.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// 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);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// 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);
}
return (signer, RecoverError.NoError);
}
/**
* @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) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
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_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}{
"optimizer": {
"enabled": false,
"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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REDEEM_PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"uint256","name":"kickoff","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct BottoRewards.RedeemPermit","name":"permit_","type":"tuple"},{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"bytes","name":"signature_","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"address payable","name":"recipient_","type":"address"}],"name":"recover","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"address payable","name":"recipient_","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
6101406040523480156200001257600080fd5b506040518060400160405280600d81526020017f424f54544f2d52455741524453000000000000000000000000000000000000008152506040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a08181525050620000e88184846200019c60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250508061012081815250505050505050620001556000801b62000149620001d860201b60201c565b620001e060201b60201c565b620001967fc002a6b5f9f56101ba6339b1b95d171fadf6e41e005b91c80d686aef7516e7596200018a620001d860201b60201c565b620001e060201b60201c565b62000413565b60008383834630604051602001620001b9959493929190620003b6565b6040516020818303038152906040528051906020012090509392505050565b600033905090565b620001f28282620002d160201b60201c565b620002cd57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000272620001d860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000819050919050565b62000350816200033b565b82525050565b6000819050919050565b6200036b8162000356565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200039e8262000371565b9050919050565b620003b08162000391565b82525050565b600060a082019050620003cd600083018862000345565b620003dc602083018762000345565b620003eb604083018662000345565b620003fa606083018562000360565b620004096080830184620003a5565b9695505050505050565b60805160a05160c05160e0516101005161012051612d3862000463600039600061132701526000611369015260006113480152600061127d015260006112d3015260006112fc0152612d386000f3fe6080604052600436106100c65760003560e01c80635c0c0fc91161007f578063a217fddf11610059578063a217fddf14610274578063b51609b41461029f578063d547741f146102c8578063e8884f2b146102f1576100cd565b80635c0c0fc9146101f05780638d108ef11461020c57806391d1485414610237576100cd565b806301ffc9a7146100d2578063248a9ca31461010f5780632f2ff15d1461014c57806336568abe1461017557806347e7ef241461019e5780634eea48e2146101c7576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190611933565b61031c565b604051610106919061197b565b60405180910390f35b34801561011b57600080fd5b50610136600480360381019061013191906119cc565b610396565b6040516101439190611a08565b60405180910390f35b34801561015857600080fd5b50610173600480360381019061016e9190611a81565b6103b5565b005b34801561018157600080fd5b5061019c60048036038101906101979190611a81565b6103d6565b005b3480156101aa57600080fd5b506101c560048036038101906101c09190611af7565b610459565b005b3480156101d357600080fd5b506101ee60048036038101906101e99190611b75565b610497565b005b61020a60048036038101906102059190611d1f565b6105de565b005b34801561021857600080fd5b506102216108e7565b60405161022e9190611a08565b60405180910390f35b34801561024357600080fd5b5061025e60048036038101906102599190611a81565b61090b565b60405161026b919061197b565b60405180910390f35b34801561028057600080fd5b50610289610975565b6040516102969190611a08565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c19190611daa565b61097c565b005b3480156102d457600080fd5b506102ef60048036038101906102ea9190611a81565b610a48565b005b3480156102fd57600080fd5b50610306610a69565b6040516103139190611a08565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061038f575061038e82610a8d565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b6103be82610396565b6103c781610af7565b6103d18383610b0b565b505050565b6103de610beb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461044b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044290611e80565b60405180910390fd5b6104558282610bf3565b5050565b6000829050610492610469610beb565b30848473ffffffffffffffffffffffffffffffffffffffff16610cd4909392919063ffffffff16565b505050565b6104ab6000801b6104a6610beb565b61090b565b6104ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e190611f12565b60405180910390fd5b6000821161052d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052490611f7e565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff168360405161055390611fcf565b60006040518083038185875af1925050503d8060008114610590576040519150601f19603f3d011682016040523d82523d6000602084013e610595565b606091505b50509050806105d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d090612030565b60405180910390fd5b505050565b60006105fb6105f5856105f09061212a565b610d5d565b83610de6565b90506106277fc002a6b5f9f56101ba6339b1b95d171fadf6e41e005b91c80d686aef7516e7598261090b565b610666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065d90612189565b60405180910390fd5b600154846020013510156106af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a6906121f5565b60405180910390fd5b428460600135111580156106c7575042846080013510155b610706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fd90612261565b60405180910390fd5b8360a00160208101906107199190612281565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90612320565b60405180910390fd5b60018460200135610797919061236f565b600181905550600073ffffffffffffffffffffffffffffffffffffffff168460400160208101906107c89190612281565b73ffffffffffffffffffffffffffffffffffffffff16036108995760008373ffffffffffffffffffffffffffffffffffffffff16856000013560405161080d90611fcf565b60006040518083038185875af1925050503d806000811461084a576040519150601f19603f3d011682016040523d82523d6000602084013e61084f565b606091505b5050905080610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90612030565b60405180910390fd5b506108e1565b60008460400160208101906108ae9190612281565b90506108df8486600001358373ffffffffffffffffffffffffffffffffffffffff16610dfa9092919063ffffffff16565b505b50505050565b7ffae2ef5413d701dfe4ba5bc340086f28bfafc845c9c64806d94fed756085a1f281565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b6109906000801b61098b610beb565b61090b565b6109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c690611f12565b60405180910390fd5b60008211610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990611f7e565b60405180910390fd5b6000839050610a4282848373ffffffffffffffffffffffffffffffffffffffff16610dfa9092919063ffffffff16565b50505050565b610a5182610396565b610a5a81610af7565b610a648383610bf3565b505050565b7fc002a6b5f9f56101ba6339b1b95d171fadf6e41e005b91c80d686aef7516e75981565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610b0881610b03610beb565b610e80565b50565b610b15828261090b565b610be757600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610b8c610beb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b610bfd828261090b565b15610cd057600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610c75610beb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b610d57846323b872dd60e01b858585604051602401610cf5939291906123c1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610f1d565b50505050565b6000610ddf7ffae2ef5413d701dfe4ba5bc340086f28bfafc845c9c64806d94fed756085a1f2836000015184602001518560400151866060015187608001518860a001518960c0015180519060200120604051602001610dc49897969594939291906123f8565b60405160208183030381529060405280519060200120610fe4565b9050919050565b6000610df28383610ffe565b905092915050565b610e7b8363a9059cbb60e01b8484604051602401610e19929190612476565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610f1d565b505050565b610e8a828261090b565b610f1957610eaf8173ffffffffffffffffffffffffffffffffffffffff166014611025565b610ebd8360001c6020611025565b604051602001610ece9291906125a8565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f10919061261b565b60405180910390fd5b5050565b6000610f7f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112619092919063ffffffff16565b9050600081511115610fdf5780806020019051810190610f9f9190612669565b610fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd590612708565b60405180910390fd5b5b505050565b6000610ff7610ff1611279565b83611393565b9050919050565b600080600061100d85856113c6565b9150915061101a81611417565b819250505092915050565b6060600060028360026110389190612728565b611042919061236f565b67ffffffffffffffff81111561105b5761105a611bf4565b5b6040519080825280601f01601f19166020018201604052801561108d5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106110c5576110c461276a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106111295761112861276a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026111699190612728565b611173919061236f565b90505b6001811115611213577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106111b5576111b461276a565b5b1a60f81b8282815181106111cc576111cb61276a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061120c90612799565b9050611176565b5060008414611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124e9061280e565b60405180910390fd5b8091505092915050565b606061127084846000856115e3565b90509392505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156112f557507f000000000000000000000000000000000000000000000000000000000000000046145b15611322577f00000000000000000000000000000000000000000000000000000000000000009050611390565b61138d7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006116f7565b90505b90565b600082826040516020016113a892919061289b565b60405160208183030381529060405280519060200120905092915050565b60008060418351036114075760008060006020860151925060408601519150606086015160001a90506113fb87828585611731565b94509450505050611410565b60006002915091505b9250929050565b6000600481111561142b5761142a6128d2565b5b81600481111561143e5761143d6128d2565b5b03156115e05760016004811115611458576114576128d2565b5b81600481111561146b5761146a6128d2565b5b036114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a29061294d565b60405180910390fd5b600260048111156114bf576114be6128d2565b5b8160048111156114d2576114d16128d2565b5b03611512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611509906129b9565b60405180910390fd5b60036004811115611526576115256128d2565b5b816004811115611539576115386128d2565b5b03611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090612a4b565b60405180910390fd5b60048081111561158c5761158b6128d2565b5b81600481111561159f5761159e6128d2565b5b036115df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d690612add565b60405180910390fd5b5b50565b606082471015611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f90612b6f565b60405180910390fd5b6116318561183d565b611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790612bdb565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516116999190612c37565b60006040518083038185875af1925050503d80600081146116d6576040519150601f19603f3d011682016040523d82523d6000602084013e6116db565b606091505b50915091506116eb828286611860565b92505050949350505050565b60008383834630604051602001611712959493929190612c4e565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561176c576000600391509150611834565b601b8560ff16141580156117845750601c8560ff1614155b15611796576000600491509150611834565b6000600187878787604051600081526020016040526040516117bb9493929190612cbd565b6020604051602081039080840390855afa1580156117dd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361182b57600060019250925050611834565b80600092509250505b94509492505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315611870578290506118c0565b6000835111156118835782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b7919061261b565b60405180910390fd5b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611910816118db565b811461191b57600080fd5b50565b60008135905061192d81611907565b92915050565b600060208284031215611949576119486118d1565b5b60006119578482850161191e565b91505092915050565b60008115159050919050565b61197581611960565b82525050565b6000602082019050611990600083018461196c565b92915050565b6000819050919050565b6119a981611996565b81146119b457600080fd5b50565b6000813590506119c6816119a0565b92915050565b6000602082840312156119e2576119e16118d1565b5b60006119f0848285016119b7565b91505092915050565b611a0281611996565b82525050565b6000602082019050611a1d60008301846119f9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a4e82611a23565b9050919050565b611a5e81611a43565b8114611a6957600080fd5b50565b600081359050611a7b81611a55565b92915050565b60008060408385031215611a9857611a976118d1565b5b6000611aa6858286016119b7565b9250506020611ab785828601611a6c565b9150509250929050565b6000819050919050565b611ad481611ac1565b8114611adf57600080fd5b50565b600081359050611af181611acb565b92915050565b60008060408385031215611b0e57611b0d6118d1565b5b6000611b1c85828601611a6c565b9250506020611b2d85828601611ae2565b9150509250929050565b6000611b4282611a23565b9050919050565b611b5281611b37565b8114611b5d57600080fd5b50565b600081359050611b6f81611b49565b92915050565b60008060408385031215611b8c57611b8b6118d1565b5b6000611b9a85828601611ae2565b9250506020611bab85828601611b60565b9150509250929050565b600080fd5b600060e08284031215611bd057611bcf611bb5565b5b81905092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611c2c82611be3565b810181811067ffffffffffffffff82111715611c4b57611c4a611bf4565b5b80604052505050565b6000611c5e6118c7565b9050611c6a8282611c23565b919050565b600067ffffffffffffffff821115611c8a57611c89611bf4565b5b611c9382611be3565b9050602081019050919050565b82818337600083830152505050565b6000611cc2611cbd84611c6f565b611c54565b905082815260208101848484011115611cde57611cdd611bde565b5b611ce9848285611ca0565b509392505050565b600082601f830112611d0657611d05611bd9565b5b8135611d16848260208601611caf565b91505092915050565b600080600060608486031215611d3857611d376118d1565b5b600084013567ffffffffffffffff811115611d5657611d556118d6565b5b611d6286828701611bba565b9350506020611d7386828701611a6c565b925050604084013567ffffffffffffffff811115611d9457611d936118d6565b5b611da086828701611cf1565b9150509250925092565b600080600060608486031215611dc357611dc26118d1565b5b6000611dd186828701611a6c565b9350506020611de286828701611ae2565b9250506040611df386828701611b60565b9150509250925092565b600082825260208201905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000611e6a602f83611dfd565b9150611e7582611e0e565b604082019050919050565b60006020820190508181036000830152611e9981611e5d565b9050919050565b7f426f74746f526577617264733a206d75737420686176652061646d696e20726f60008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b6000611efc602283611dfd565b9150611f0782611ea0565b604082019050919050565b60006020820190508181036000830152611f2b81611eef565b9050919050565b7f426f74746f526577617264733a20696e76616c696420616d6f756e7400000000600082015250565b6000611f68601c83611dfd565b9150611f7382611f32565b602082019050919050565b60006020820190508181036000830152611f9781611f5b565b9050919050565b600081905092915050565b50565b6000611fb9600083611f9e565b9150611fc482611fa9565b600082019050919050565b6000611fda82611fac565b9150819050919050565b7f426f74746f526577617264733a207472616e73666572206661696c65642e0000600082015250565b600061201a601e83611dfd565b915061202582611fe4565b602082019050919050565b600060208201905081810360008301526120498161200d565b9050919050565b600080fd5b600080fd5b600060e082840312156120705761206f612050565b5b61207a60e0611c54565b9050600061208a84828501611ae2565b600083015250602061209e84828501611ae2565b60208301525060406120b284828501611a6c565b60408301525060606120c684828501611ae2565b60608301525060806120da84828501611ae2565b60808301525060a06120ee84828501611a6c565b60a08301525060c082013567ffffffffffffffff81111561211257612111612055565b5b61211e84828501611cf1565b60c08301525092915050565b6000612136368361205a565b9050919050565b7f426f74746f526577617264733a207369676e617475726520696e76616c696400600082015250565b6000612173601f83611dfd565b915061217e8261213d565b602082019050919050565b600060208201905081810360008301526121a281612166565b9050919050565b7f426f74746f526577617264733a207065726d697420696e76616c696400000000600082015250565b60006121df601c83611dfd565b91506121ea826121a9565b602082019050919050565b6000602082019050818103600083015261220e816121d2565b9050919050565b7f426f74746f526577617264733a207065726d6974206578706972656400000000600082015250565b600061224b601c83611dfd565b915061225682612215565b602082019050919050565b6000602082019050818103600083015261227a8161223e565b9050919050565b600060208284031215612297576122966118d1565b5b60006122a584828501611a6c565b91505092915050565b7f426f74746f526577617264733a20726563697069656e7420646f6573206e6f7460008201527f206d61746368207065726d697400000000000000000000000000000000000000602082015250565b600061230a602d83611dfd565b9150612315826122ae565b604082019050919050565b60006020820190508181036000830152612339816122fd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061237a82611ac1565b915061238583611ac1565b925082820190508082111561239d5761239c612340565b5b92915050565b6123ac81611a43565b82525050565b6123bb81611ac1565b82525050565b60006060820190506123d660008301866123a3565b6123e360208301856123a3565b6123f060408301846123b2565b949350505050565b60006101008201905061240e600083018b6119f9565b61241b602083018a6123b2565b61242860408301896123b2565b61243560608301886123a3565b61244260808301876123b2565b61244f60a08301866123b2565b61245c60c08301856123a3565b61246960e08301846119f9565b9998505050505050505050565b600060408201905061248b60008301856123a3565b61249860208301846123b2565b9392505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006124e060178361249f565b91506124eb826124aa565b601782019050919050565b600081519050919050565b60005b8381101561251f578082015181840152602081019050612504565b60008484015250505050565b6000612536826124f6565b612540818561249f565b9350612550818560208601612501565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061259260118361249f565b915061259d8261255c565b601182019050919050565b60006125b3826124d3565b91506125bf828561252b565b91506125ca82612585565b91506125d6828461252b565b91508190509392505050565b60006125ed826124f6565b6125f78185611dfd565b9350612607818560208601612501565b61261081611be3565b840191505092915050565b6000602082019050818103600083015261263581846125e2565b905092915050565b61264681611960565b811461265157600080fd5b50565b6000815190506126638161263d565b92915050565b60006020828403121561267f5761267e6118d1565b5b600061268d84828501612654565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006126f2602a83611dfd565b91506126fd82612696565b604082019050919050565b60006020820190508181036000830152612721816126e5565b9050919050565b600061273382611ac1565b915061273e83611ac1565b925082820261274c81611ac1565b9150828204841483151761276357612762612340565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006127a482611ac1565b9150600082036127b7576127b6612340565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006127f8602083611dfd565b9150612803826127c2565b602082019050919050565b60006020820190508181036000830152612827816127eb565b9050919050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b600061286460028361249f565b915061286f8261282e565b600282019050919050565b6000819050919050565b61289561289082611996565b61287a565b82525050565b60006128a682612857565b91506128b28285612884565b6020820191506128c28284612884565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000612937601883611dfd565b915061294282612901565b602082019050919050565b600060208201905081810360008301526129668161292a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006129a3601f83611dfd565b91506129ae8261296d565b602082019050919050565b600060208201905081810360008301526129d281612996565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a35602283611dfd565b9150612a40826129d9565b604082019050919050565b60006020820190508181036000830152612a6481612a28565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ac7602283611dfd565b9150612ad282612a6b565b604082019050919050565b60006020820190508181036000830152612af681612aba565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612b59602683611dfd565b9150612b6482612afd565b604082019050919050565b60006020820190508181036000830152612b8881612b4c565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612bc5601d83611dfd565b9150612bd082612b8f565b602082019050919050565b60006020820190508181036000830152612bf481612bb8565b9050919050565b600081519050919050565b6000612c1182612bfb565b612c1b8185611f9e565b9350612c2b818560208601612501565b80840191505092915050565b6000612c438284612c06565b915081905092915050565b600060a082019050612c6360008301886119f9565b612c7060208301876119f9565b612c7d60408301866119f9565b612c8a60608301856123b2565b612c9760808301846123a3565b9695505050505050565b600060ff82169050919050565b612cb781612ca1565b82525050565b6000608082019050612cd260008301876119f9565b612cdf6020830186612cae565b612cec60408301856119f9565b612cf960608301846119f9565b9594505050505056fea264697066735822122092c9e2563dcfeb039f24df4697da80ee33fe173765009f863a3a3639739c0e6064736f6c63430008110033
Deployed Bytecode
0x6080604052600436106100c65760003560e01c80635c0c0fc91161007f578063a217fddf11610059578063a217fddf14610274578063b51609b41461029f578063d547741f146102c8578063e8884f2b146102f1576100cd565b80635c0c0fc9146101f05780638d108ef11461020c57806391d1485414610237576100cd565b806301ffc9a7146100d2578063248a9ca31461010f5780632f2ff15d1461014c57806336568abe1461017557806347e7ef241461019e5780634eea48e2146101c7576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b506100f960048036038101906100f49190611933565b61031c565b604051610106919061197b565b60405180910390f35b34801561011b57600080fd5b50610136600480360381019061013191906119cc565b610396565b6040516101439190611a08565b60405180910390f35b34801561015857600080fd5b50610173600480360381019061016e9190611a81565b6103b5565b005b34801561018157600080fd5b5061019c60048036038101906101979190611a81565b6103d6565b005b3480156101aa57600080fd5b506101c560048036038101906101c09190611af7565b610459565b005b3480156101d357600080fd5b506101ee60048036038101906101e99190611b75565b610497565b005b61020a60048036038101906102059190611d1f565b6105de565b005b34801561021857600080fd5b506102216108e7565b60405161022e9190611a08565b60405180910390f35b34801561024357600080fd5b5061025e60048036038101906102599190611a81565b61090b565b60405161026b919061197b565b60405180910390f35b34801561028057600080fd5b50610289610975565b6040516102969190611a08565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c19190611daa565b61097c565b005b3480156102d457600080fd5b506102ef60048036038101906102ea9190611a81565b610a48565b005b3480156102fd57600080fd5b50610306610a69565b6040516103139190611a08565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061038f575061038e82610a8d565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b6103be82610396565b6103c781610af7565b6103d18383610b0b565b505050565b6103de610beb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461044b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044290611e80565b60405180910390fd5b6104558282610bf3565b5050565b6000829050610492610469610beb565b30848473ffffffffffffffffffffffffffffffffffffffff16610cd4909392919063ffffffff16565b505050565b6104ab6000801b6104a6610beb565b61090b565b6104ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e190611f12565b60405180910390fd5b6000821161052d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052490611f7e565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff168360405161055390611fcf565b60006040518083038185875af1925050503d8060008114610590576040519150601f19603f3d011682016040523d82523d6000602084013e610595565b606091505b50509050806105d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d090612030565b60405180910390fd5b505050565b60006105fb6105f5856105f09061212a565b610d5d565b83610de6565b90506106277fc002a6b5f9f56101ba6339b1b95d171fadf6e41e005b91c80d686aef7516e7598261090b565b610666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065d90612189565b60405180910390fd5b600154846020013510156106af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a6906121f5565b60405180910390fd5b428460600135111580156106c7575042846080013510155b610706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fd90612261565b60405180910390fd5b8360a00160208101906107199190612281565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90612320565b60405180910390fd5b60018460200135610797919061236f565b600181905550600073ffffffffffffffffffffffffffffffffffffffff168460400160208101906107c89190612281565b73ffffffffffffffffffffffffffffffffffffffff16036108995760008373ffffffffffffffffffffffffffffffffffffffff16856000013560405161080d90611fcf565b60006040518083038185875af1925050503d806000811461084a576040519150601f19603f3d011682016040523d82523d6000602084013e61084f565b606091505b5050905080610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90612030565b60405180910390fd5b506108e1565b60008460400160208101906108ae9190612281565b90506108df8486600001358373ffffffffffffffffffffffffffffffffffffffff16610dfa9092919063ffffffff16565b505b50505050565b7ffae2ef5413d701dfe4ba5bc340086f28bfafc845c9c64806d94fed756085a1f281565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b6109906000801b61098b610beb565b61090b565b6109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c690611f12565b60405180910390fd5b60008211610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990611f7e565b60405180910390fd5b6000839050610a4282848373ffffffffffffffffffffffffffffffffffffffff16610dfa9092919063ffffffff16565b50505050565b610a5182610396565b610a5a81610af7565b610a648383610bf3565b505050565b7fc002a6b5f9f56101ba6339b1b95d171fadf6e41e005b91c80d686aef7516e75981565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610b0881610b03610beb565b610e80565b50565b610b15828261090b565b610be757600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610b8c610beb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b610bfd828261090b565b15610cd057600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610c75610beb565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b610d57846323b872dd60e01b858585604051602401610cf5939291906123c1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610f1d565b50505050565b6000610ddf7ffae2ef5413d701dfe4ba5bc340086f28bfafc845c9c64806d94fed756085a1f2836000015184602001518560400151866060015187608001518860a001518960c0015180519060200120604051602001610dc49897969594939291906123f8565b60405160208183030381529060405280519060200120610fe4565b9050919050565b6000610df28383610ffe565b905092915050565b610e7b8363a9059cbb60e01b8484604051602401610e19929190612476565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610f1d565b505050565b610e8a828261090b565b610f1957610eaf8173ffffffffffffffffffffffffffffffffffffffff166014611025565b610ebd8360001c6020611025565b604051602001610ece9291906125a8565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f10919061261b565b60405180910390fd5b5050565b6000610f7f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112619092919063ffffffff16565b9050600081511115610fdf5780806020019051810190610f9f9190612669565b610fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd590612708565b60405180910390fd5b5b505050565b6000610ff7610ff1611279565b83611393565b9050919050565b600080600061100d85856113c6565b9150915061101a81611417565b819250505092915050565b6060600060028360026110389190612728565b611042919061236f565b67ffffffffffffffff81111561105b5761105a611bf4565b5b6040519080825280601f01601f19166020018201604052801561108d5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106110c5576110c461276a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106111295761112861276a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026111699190612728565b611173919061236f565b90505b6001811115611213577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106111b5576111b461276a565b5b1a60f81b8282815181106111cc576111cb61276a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061120c90612799565b9050611176565b5060008414611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124e9061280e565b60405180910390fd5b8091505092915050565b606061127084846000856115e3565b90509392505050565b60007f0000000000000000000000005f0f397a8f423ee97d4125bfb00d41bcec44971a73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156112f557507f000000000000000000000000000000000000000000000000000000000000000146145b15611322577fb72673bff1efd156aff73421d68b8fccaf4839104872729503f2b1fe1f2d71649050611390565b61138d7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f829edd34d4e6c93ab932b356683bdb3a2ff6352a97a61f69dda87c1eb089961c7f06c015bd22b4c69690933c1058878ebdfef31f9aaae40bbe86d8a09fe1b2972c6116f7565b90505b90565b600082826040516020016113a892919061289b565b60405160208183030381529060405280519060200120905092915050565b60008060418351036114075760008060006020860151925060408601519150606086015160001a90506113fb87828585611731565b94509450505050611410565b60006002915091505b9250929050565b6000600481111561142b5761142a6128d2565b5b81600481111561143e5761143d6128d2565b5b03156115e05760016004811115611458576114576128d2565b5b81600481111561146b5761146a6128d2565b5b036114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a29061294d565b60405180910390fd5b600260048111156114bf576114be6128d2565b5b8160048111156114d2576114d16128d2565b5b03611512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611509906129b9565b60405180910390fd5b60036004811115611526576115256128d2565b5b816004811115611539576115386128d2565b5b03611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090612a4b565b60405180910390fd5b60048081111561158c5761158b6128d2565b5b81600481111561159f5761159e6128d2565b5b036115df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d690612add565b60405180910390fd5b5b50565b606082471015611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f90612b6f565b60405180910390fd5b6116318561183d565b611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166790612bdb565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516116999190612c37565b60006040518083038185875af1925050503d80600081146116d6576040519150601f19603f3d011682016040523d82523d6000602084013e6116db565b606091505b50915091506116eb828286611860565b92505050949350505050565b60008383834630604051602001611712959493929190612c4e565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561176c576000600391509150611834565b601b8560ff16141580156117845750601c8560ff1614155b15611796576000600491509150611834565b6000600187878787604051600081526020016040526040516117bb9493929190612cbd565b6020604051602081039080840390855afa1580156117dd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361182b57600060019250925050611834565b80600092509250505b94509492505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315611870578290506118c0565b6000835111156118835782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b7919061261b565b60405180910390fd5b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611910816118db565b811461191b57600080fd5b50565b60008135905061192d81611907565b92915050565b600060208284031215611949576119486118d1565b5b60006119578482850161191e565b91505092915050565b60008115159050919050565b61197581611960565b82525050565b6000602082019050611990600083018461196c565b92915050565b6000819050919050565b6119a981611996565b81146119b457600080fd5b50565b6000813590506119c6816119a0565b92915050565b6000602082840312156119e2576119e16118d1565b5b60006119f0848285016119b7565b91505092915050565b611a0281611996565b82525050565b6000602082019050611a1d60008301846119f9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a4e82611a23565b9050919050565b611a5e81611a43565b8114611a6957600080fd5b50565b600081359050611a7b81611a55565b92915050565b60008060408385031215611a9857611a976118d1565b5b6000611aa6858286016119b7565b9250506020611ab785828601611a6c565b9150509250929050565b6000819050919050565b611ad481611ac1565b8114611adf57600080fd5b50565b600081359050611af181611acb565b92915050565b60008060408385031215611b0e57611b0d6118d1565b5b6000611b1c85828601611a6c565b9250506020611b2d85828601611ae2565b9150509250929050565b6000611b4282611a23565b9050919050565b611b5281611b37565b8114611b5d57600080fd5b50565b600081359050611b6f81611b49565b92915050565b60008060408385031215611b8c57611b8b6118d1565b5b6000611b9a85828601611ae2565b9250506020611bab85828601611b60565b9150509250929050565b600080fd5b600060e08284031215611bd057611bcf611bb5565b5b81905092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611c2c82611be3565b810181811067ffffffffffffffff82111715611c4b57611c4a611bf4565b5b80604052505050565b6000611c5e6118c7565b9050611c6a8282611c23565b919050565b600067ffffffffffffffff821115611c8a57611c89611bf4565b5b611c9382611be3565b9050602081019050919050565b82818337600083830152505050565b6000611cc2611cbd84611c6f565b611c54565b905082815260208101848484011115611cde57611cdd611bde565b5b611ce9848285611ca0565b509392505050565b600082601f830112611d0657611d05611bd9565b5b8135611d16848260208601611caf565b91505092915050565b600080600060608486031215611d3857611d376118d1565b5b600084013567ffffffffffffffff811115611d5657611d556118d6565b5b611d6286828701611bba565b9350506020611d7386828701611a6c565b925050604084013567ffffffffffffffff811115611d9457611d936118d6565b5b611da086828701611cf1565b9150509250925092565b600080600060608486031215611dc357611dc26118d1565b5b6000611dd186828701611a6c565b9350506020611de286828701611ae2565b9250506040611df386828701611b60565b9150509250925092565b600082825260208201905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000611e6a602f83611dfd565b9150611e7582611e0e565b604082019050919050565b60006020820190508181036000830152611e9981611e5d565b9050919050565b7f426f74746f526577617264733a206d75737420686176652061646d696e20726f60008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b6000611efc602283611dfd565b9150611f0782611ea0565b604082019050919050565b60006020820190508181036000830152611f2b81611eef565b9050919050565b7f426f74746f526577617264733a20696e76616c696420616d6f756e7400000000600082015250565b6000611f68601c83611dfd565b9150611f7382611f32565b602082019050919050565b60006020820190508181036000830152611f9781611f5b565b9050919050565b600081905092915050565b50565b6000611fb9600083611f9e565b9150611fc482611fa9565b600082019050919050565b6000611fda82611fac565b9150819050919050565b7f426f74746f526577617264733a207472616e73666572206661696c65642e0000600082015250565b600061201a601e83611dfd565b915061202582611fe4565b602082019050919050565b600060208201905081810360008301526120498161200d565b9050919050565b600080fd5b600080fd5b600060e082840312156120705761206f612050565b5b61207a60e0611c54565b9050600061208a84828501611ae2565b600083015250602061209e84828501611ae2565b60208301525060406120b284828501611a6c565b60408301525060606120c684828501611ae2565b60608301525060806120da84828501611ae2565b60808301525060a06120ee84828501611a6c565b60a08301525060c082013567ffffffffffffffff81111561211257612111612055565b5b61211e84828501611cf1565b60c08301525092915050565b6000612136368361205a565b9050919050565b7f426f74746f526577617264733a207369676e617475726520696e76616c696400600082015250565b6000612173601f83611dfd565b915061217e8261213d565b602082019050919050565b600060208201905081810360008301526121a281612166565b9050919050565b7f426f74746f526577617264733a207065726d697420696e76616c696400000000600082015250565b60006121df601c83611dfd565b91506121ea826121a9565b602082019050919050565b6000602082019050818103600083015261220e816121d2565b9050919050565b7f426f74746f526577617264733a207065726d6974206578706972656400000000600082015250565b600061224b601c83611dfd565b915061225682612215565b602082019050919050565b6000602082019050818103600083015261227a8161223e565b9050919050565b600060208284031215612297576122966118d1565b5b60006122a584828501611a6c565b91505092915050565b7f426f74746f526577617264733a20726563697069656e7420646f6573206e6f7460008201527f206d61746368207065726d697400000000000000000000000000000000000000602082015250565b600061230a602d83611dfd565b9150612315826122ae565b604082019050919050565b60006020820190508181036000830152612339816122fd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061237a82611ac1565b915061238583611ac1565b925082820190508082111561239d5761239c612340565b5b92915050565b6123ac81611a43565b82525050565b6123bb81611ac1565b82525050565b60006060820190506123d660008301866123a3565b6123e360208301856123a3565b6123f060408301846123b2565b949350505050565b60006101008201905061240e600083018b6119f9565b61241b602083018a6123b2565b61242860408301896123b2565b61243560608301886123a3565b61244260808301876123b2565b61244f60a08301866123b2565b61245c60c08301856123a3565b61246960e08301846119f9565b9998505050505050505050565b600060408201905061248b60008301856123a3565b61249860208301846123b2565b9392505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006124e060178361249f565b91506124eb826124aa565b601782019050919050565b600081519050919050565b60005b8381101561251f578082015181840152602081019050612504565b60008484015250505050565b6000612536826124f6565b612540818561249f565b9350612550818560208601612501565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061259260118361249f565b915061259d8261255c565b601182019050919050565b60006125b3826124d3565b91506125bf828561252b565b91506125ca82612585565b91506125d6828461252b565b91508190509392505050565b60006125ed826124f6565b6125f78185611dfd565b9350612607818560208601612501565b61261081611be3565b840191505092915050565b6000602082019050818103600083015261263581846125e2565b905092915050565b61264681611960565b811461265157600080fd5b50565b6000815190506126638161263d565b92915050565b60006020828403121561267f5761267e6118d1565b5b600061268d84828501612654565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006126f2602a83611dfd565b91506126fd82612696565b604082019050919050565b60006020820190508181036000830152612721816126e5565b9050919050565b600061273382611ac1565b915061273e83611ac1565b925082820261274c81611ac1565b9150828204841483151761276357612762612340565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006127a482611ac1565b9150600082036127b7576127b6612340565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006127f8602083611dfd565b9150612803826127c2565b602082019050919050565b60006020820190508181036000830152612827816127eb565b9050919050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b600061286460028361249f565b915061286f8261282e565b600282019050919050565b6000819050919050565b61289561289082611996565b61287a565b82525050565b60006128a682612857565b91506128b28285612884565b6020820191506128c28284612884565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000612937601883611dfd565b915061294282612901565b602082019050919050565b600060208201905081810360008301526129668161292a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006129a3601f83611dfd565b91506129ae8261296d565b602082019050919050565b600060208201905081810360008301526129d281612996565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a35602283611dfd565b9150612a40826129d9565b604082019050919050565b60006020820190508181036000830152612a6481612a28565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ac7602283611dfd565b9150612ad282612a6b565b604082019050919050565b60006020820190508181036000830152612af681612aba565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612b59602683611dfd565b9150612b6482612afd565b604082019050919050565b60006020820190508181036000830152612b8881612b4c565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612bc5601d83611dfd565b9150612bd082612b8f565b602082019050919050565b60006020820190508181036000830152612bf481612bb8565b9050919050565b600081519050919050565b6000612c1182612bfb565b612c1b8185611f9e565b9350612c2b818560208601612501565b80840191505092915050565b6000612c438284612c06565b915081905092915050565b600060a082019050612c6360008301886119f9565b612c7060208301876119f9565b612c7d60408301866119f9565b612c8a60608301856123b2565b612c9760808301846123a3565b9695505050505050565b600060ff82169050919050565b612cb781612ca1565b82525050565b6000608082019050612cd260008301876119f9565b612cdf6020830186612cae565b612cec60408301856119f9565b612cf960608301846119f9565b9594505050505056fea264697066735822122092c9e2563dcfeb039f24df4697da80ee33fe173765009f863a3a3639739c0e6064736f6c63430008110033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$443.96
Net Worth in ETH
0.208734
Token Allocations
BOTTO
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.055495 | 8,000 | $443.96 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.