ETH Price: $2,667.55 (-1.73%)

Token

OpenLM RevShare Token (OLM)
 

Overview

Max Total Supply

991,436,006.297844889129201727 OLM

Holders

6,218

Market

Price

$0.00 @ 0.000000 ETH (-8.27%)

Onchain Market Cap

$1,197,496.07

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.008357592463244638 OLM

Value
$0.00 ( ~0 Eth) [0.0000%]
0x013f3b161fe389a39884367af18af418f8d1ebdd
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

ORA introduces the world’s first initial model offering, tokenizing OpenLM with $OLM on Ethereum.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC7641

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 19 : ERC7641.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
import "./IERC7641.sol";
contract ERC7641 is ERC20Permit, ERC20Snapshot, IERC7641 {
/**
* @dev snapshot number reserved for claimable
*/
uint256 constant public SNAPSHOT_CLAIMABLE_NUMBER = 2;
/**
* @dev last snapshotted block
*/
uint256 public lastSnapshotBlock;
/**
* @dev percentage claimable
*/
uint256 immutable public percentClaimable;
/**
* @dev snapshot interval
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 2 of 19 : IERC5267.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)
pragma solidity ^0.8.0;
interface IERC5267 {
/**
* @dev MAY be emitted to signal that the domain could have changed.
*/
event EIP712DomainChanged();
/**
* @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
* signature.
*/
function eip712Domain()
external
view
returns (
bytes1 fields,
string memory name,
string memory version,
uint256 chainId,
address verifyingContract,
bytes32 salt,
uint256[] memory extensions
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 3 of 19 : ERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 4 of 19 : ERC20Permit.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/ERC20Permit.sol)
pragma solidity ^0.8.0;
import "./IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/cryptography/EIP712.sol";
import "../../../utils/Counters.sol";
/**
* @dev Implementation 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.
*
* _Available since v3.4._
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping(address => Counters.Counter) private _nonces;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 5 of 19 : ERC20Snapshot.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Snapshot.sol)
pragma solidity ^0.8.0;
import "../ERC20.sol";
import "../../../utils/Arrays.sol";
import "../../../utils/Counters.sol";
/**
* @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
* total supply at the time are recorded for later access.
*
* This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
* In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
* accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
* used to create an efficient ERC20 forking mechanism.
*
* Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
* snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
* id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
* and the account address.
*
* NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it
* return `block.number` will trigger the creation of snapshot at the beginning of each new block. When overriding this
* function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 6 of 19 : IERC20Metadata.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 7 of 19 : IERC20Permit.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/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.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 8 of 19 : IERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 9 of 19 : Arrays.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Arrays.sol)
pragma solidity ^0.8.0;
import "./StorageSlot.sol";
import "./math/Math.sol";
/**
* @dev Collection of functions related to array types.
*/
library Arrays {
using StorageSlot for bytes32;
/**
* @dev Searches a sorted `array` and returns the first index that contains
* a value greater or equal to `element`. If no such index exists (i.e. all
* values in the array are strictly less than `element`), the array length is
* returned. Time complexity O(log n).
*
* `array` is expected to be sorted in ascending order, and to contain no
* repeated elements.
*/
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
if (array.length == 0) {
return 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 10 of 19 : Context.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 11 of 19 : Counters.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 12 of 19 : ECDSA.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 // Deprecated in v4.8
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 13 of 19 : EIP712.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)
pragma solidity ^0.8.8;
import "./ECDSA.sol";
import "../ShortStrings.sol";
import "../../interfaces/IERC5267.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].
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 14 of 19 : Math.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 15 of 19 : SignedMath.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 16 of 19 : ShortStrings.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)
pragma solidity ^0.8.8;
import "./StorageSlot.sol";
// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
// | length | 0x BB |
type ShortString is bytes32;
/**
* @dev This library provides functions to convert short memory strings
* into a `ShortString` type that can be used as an immutable variable.
*
* Strings of arbitrary length can be optimized using this library if
* they are short enough (up to 31 bytes) by packing them with their
* length (1 byte) in a single EVM word (32 bytes). Additionally, a
* fallback mechanism can be used for every other case.
*
* Usage example:
*
* ```solidity
* contract Named {
* using ShortStrings for *;
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 17 of 19 : StorageSlot.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.
pragma solidity ^0.8.0;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```solidity
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 18 of 19 : Strings.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
import "./math/SignedMath.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _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) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 19 of 19 : IERC7641.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
/**
* @dev An interface for ERC-7641, an ERC-20 extension that integrates a revenue-sharing mechanism, ensuring tokens intrinsically represent a share of
     a communal revenue pool
*/
interface IERC7641 is IERC20 {
/**
* @dev A function to calculate the amount of ETH claimable by a token holder at certain snapshot.
* @param account The address of the token holder
* @param snapshotId The snapshot id
* @return claimable The amount of revenue ETH claimable
*/
function claimableRevenue(address account, uint256 snapshotId) external view returns (uint256);
/**
* @dev A function for token holder to claim ETH based on the token balance at certain snapshot.
* @param snapshotId The snapshot id
*/
function claim(uint256 snapshotId) external;
/**
* @dev A function to snapshot the token balance and the claimable revenue token balance
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"_percentClaimable","type":"uint256"},{"internalType":"uint256","name":"_snapshotInterval","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_CLAIMABLE_NUMBER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"snapshotIds","type":"uint256[]"}],"name":"claimBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"claimableRevenue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastSnapshotBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"redeemableOnBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"snapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshotInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101a06040523480156200001257600080fd5b506040516200290238038062002902833981016040819052620000359162000524565b6040805180820190915260018152603160f81b6020820152859081908187600362000061838262000639565b50600462000070828262000639565b506200008291508390506005620001b4565b6101205262000093816006620001b4565b61014052815160208084019190912060e052815190820120610100524660a0526200012160e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c0525060648211156200018d5760405162461bcd60e51b815260206004820152602260248201527f70657263656e7461676520636c61696d61626c652073686f756c64203c3d2031604482015261030360f41b60648201526084015b60405180910390fd5b43600d55610160829052610180819052620001a93384620001ed565b5050505050620007b7565b6000602083511015620001d457620001cc83620002be565b9050620001e7565b81620001e1848262000639565b5060ff90505b92915050565b6001600160a01b038216620002455760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000184565b620002536000838362000301565b80600260008282546200026791906200071b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080829050601f81511115620002ec578260405163305a27a960e01b815260040162000184919062000731565b8051620002f98262000766565b179392505050565b6200030e83838362000313565b505050565b6001600160a01b03831662000337576200032d8262000362565b6200030e6200039a565b6001600160a01b03821662000351576200032d8362000362565b6200035c8362000362565b6200030e825b6001600160a01b03811660009081526009602090815260408083209183905290912054620003979190620003ac565b620003ac565b50565b620003aa600a6200039160025490565b565b6000620003b8620003fb565b905080620003c6846200040c565b10156200030e578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b600062000407600c5490565b905090565b805460009081036200042057506000919050565b8154829062000432906001906200078b565b81548110620004455762000445620007a1565b90600052602060002001549050919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200048a57818101518382015260200162000470565b50506000910152565b600082601f830112620004a557600080fd5b81516001600160401b0380821115620004c257620004c262000457565b604051601f8301601f19908116603f01168101908282118183101715620004ed57620004ed62000457565b816040528381528660208588010111156200050757600080fd5b6200051a8460208301602089016200046d565b9695505050505050565b600080600080600060a086880312156200053d57600080fd5b85516001600160401b03808211156200055557600080fd5b6200056389838a0162000493565b965060208801519150808211156200057a57600080fd5b50620005898882890162000493565b60408801516060890151608090990151979a919950979695509350505050565b600181811c90821680620005be57607f821691505b602082108103620005df57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030e576000816000526020600020601f850160051c81016020861015620006105750805b601f850160051c820191505b8181101562000631578281556001016200061c565b505050505050565b81516001600160401b0381111562000655576200065562000457565b6200066d81620006668454620005a9565b84620005e5565b602080601f831160018114620006a557600084156200068c5750858301515b600019600386901b1c1916600185901b17855562000631565b600085815260208120601f198616915b82811015620006d657888601518255948401946001909101908401620006b5565b5085821015620006f55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115620001e757620001e762000705565b6020815260008251806020840152620007528160408501602087016200046d565b601f01601f19169190910160400192915050565b80516020808301519190811015620005df5760001960209190910360031b1b16919050565b81810381811115620001e757620001e762000705565b634e487b7160e01b600052603260045260246000fd5b60805160a05160c05160e05161010051610120516101405161016051610180516120c56200083d600039600081816101e90152610ab70152600081816102ec01528181610b85015261123f01526000610a5401526000610a29015260006113ad01526000611385015260006112e00152600061130a0152600061133401526120c56000f3fe6080604052600436106101a05760003560e01c806342966c68116100ec57806395d89b411161008a578063a457c2d711610064578063a457c2d7146104b8578063a9059cbb146104d8578063d505accf146104f8578063dd62ed3e1461051857600080fd5b806395d89b411461046e5780639711715a14610483578063981b24d01461049857600080fd5b806362abebce116100c657806362abebce146103d057806370a08231146103f05780637ecebe001461042657806384b0196e1461044657600080fd5b806342966c681461037a5780634ee2cd7e1461039a5780634f4ad3a6146103ba57600080fd5b80632be2bb11116101595780633644e515116101335780633644e5151461030e578063379607f51461032357806339509351146103455780633fe08f411461036557600080fd5b80632be2bb111461029e578063313ce567146102be57806332e2c0c2146102da57600080fd5b806306fdde03146101ac57806307d0413c146101d7578063095ea7b31461021957806318160ddd1461024957806323b872dd1461025e57806324888f981461027e57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101c1610538565b6040516101ce9190611ce3565b60405180910390f35b3480156101e357600080fd5b5061020b7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101ce565b34801561022557600080fd5b50610239610234366004611d0d565b6105ca565b60405190151581526020016101ce565b34801561025557600080fd5b5060025461020b565b34801561026a57600080fd5b50610239610279366004611d37565b6105e4565b34801561028a57600080fd5b5061020b610299366004611d73565b610608565b3480156102aa57600080fd5b5061020b6102b9366004611d0d565b61062d565b3480156102ca57600080fd5b50604051601281526020016101ce565b3480156102e657600080fd5b5061020b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561031a57600080fd5b5061020b61073e565b34801561032f57600080fd5b5061034361033e366004611d73565b61074d565b005b34801561035157600080fd5b50610239610360366004611d0d565b61086d565b34801561037157600080fd5b5061020b600281565b34801561038657600080fd5b50610343610395366004611d73565b61088f565b3480156103a657600080fd5b5061020b6103b5366004611d0d565b61096d565b3480156103c657600080fd5b5061020b600d5481565b3480156103dc57600080fd5b506103436103eb366004611da2565b6109c6565b3480156103fc57600080fd5b5061020b61040b366004611e60565b6001600160a01b031660009081526020819052604090205490565b34801561043257600080fd5b5061020b610441366004611e60565b6109fd565b34801561045257600080fd5b5061045b610a1b565b6040516101ce9796959493929190611e7b565b34801561047a57600080fd5b506101c1610aa4565b34801561048f57600080fd5b5061020b610ab3565b3480156104a457600080fd5b5061020b6104b3366004611d73565b610c61565b3480156104c457600080fd5b506102396104d3366004611d0d565b610c89565b3480156104e457600080fd5b506102396104f3366004611d0d565b610d04565b34801561050457600080fd5b50610343610513366004611f14565b610d12565b34801561052457600080fd5b5061020b610533366004611f87565b610e76565b60606003805461054790611fba565b80601f016020809104026020016040519081016040528092919081815260200182805461057390611fba565b80156105c05780601f10610595576101008083540402835291602001916105c0565b820191906000526020600020905b8154815290600101906020018083116105a357829003601f168201915b5050505050905090565b6000336105d8818585610ea1565b60019150505b92915050565b6000336105f2858285610fc5565b6105fd858585611039565b506001949350505050565b6000806000610616846111e8565b90925090506106258183612004565b949350505050565b60008181526010602090815260408083206001600160a01b038616845290915281205460ff16156106975760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064015b60405180910390fd5b60006106a16112c8565b905060026106af8483612017565b106106f35760405162461bcd60e51b8152602060048201526014602482015273736e617073686f7420756e636c61696d61626c6560601b604482015260640161068e565b60006106ff858561096d565b9050600061070c85610c61565b6000868152600e602052604090205490915081610729828561202a565b6107339190612041565b979650505050505050565b60006107486112d3565b905090565b6000610759338361062d565b90506000811161079e5760405162461bcd60e51b815260206004820152601060248201526f0dcde40c6d8c2d2dac2c4d8ca408aa8960831b604482015260640161068e565b60008281526010602090815260408083203384528252808320805460ff19166001179055848352600f909152812080548392906107dc908490612004565b9091555050604051600090339083908381818185875af1925050503d8060008114610823576040519150601f19603f3d011682016040523d82523d6000602084013e610828565b606091505b50509050806108685760405162461bcd60e51b815260206004820152600c60248201526b18db185a5b4819985a5b195960a21b604482015260640161068e565b505050565b6000336105d88185856108808383610e76565b61088a9190612004565b610ea1565b60008061089b836111e8565b9150915080601160008282546108b19190612017565b9250508190555081601260008282546108ca9190612004565b909155506108da905033846113fe565b6000336108e78385612004565b604051600081818185875af1925050503d8060008114610923576040519150601f19603f3d011682016040523d82523d6000602084013e610928565b606091505b50509050806109675760405162461bcd60e51b815260206004820152600b60248201526a189d5c9b8819985a5b195960aa1b604482015260640161068e565b50505050565b6001600160a01b03821660009081526009602052604081208190819061099490859061153c565b91509150816109bb576001600160a01b0385166000908152602081905260409020546109bd565b805b95945050505050565b805160005b81811015610868576109f58382815181106109e8576109e8612063565b602002602001015161074d565b6001016109cb565b6001600160a01b0381166000908152600760205260408120546105de565b600060608082808083610a4f7f00000000000000000000000000000000000000000000000000000000000000006005611632565b610a7a7f00000000000000000000000000000000000000000000000000000000000000006006611632565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461054790611fba565b60007f0000000000000000000000000000000000000000000000000000000000000000600d5443610ae49190612017565b11610b315760405162461bcd60e51b815260206004820152601e60248201527f736e617073686f7420696e74657276616c20697320746f6f2073686f72740000604482015260640161068e565b6000610b3b6116dd565b43600d5590506000610b56610b51600184612017565b611737565b601154601254610b669047612004565b610b709190612017565b610b7a9190612017565b905060006064610baa7f00000000000000000000000000000000000000000000000000000000000000008461202a565b610bb49190612041565b905060028310610c1657600f6000610bcd600286612017565b815260200190815260200160002054600e6000600286610bed9190612017565b81526020019081526020016000205482610c079190612004565b610c119190612017565b610c18565b805b6000848152600e6020526040902055601254610c348284612017565b610c3e9190612017565b60116000828254610c4f9190612004565b90915550506000601255509092915050565b6000806000610c7184600a61153c565b9150915081610c8257600254610625565b9392505050565b60003381610c978286610e76565b905083811015610cf75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161068e565b6105fd8286868403610ea1565b6000336105d8818585611039565b83421115610d625760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161068e565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610d918c6117bc565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610dec826117e4565b90506000610dfc82878787611811565b9050896001600160a01b0316816001600160a01b031614610e5f5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161068e565b610e6a8a8a8a610ea1565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610f035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161068e565b6001600160a01b038216610f645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161068e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fd18484610e76565b90506000198114610967578181101561102c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161068e565b6109678484848403610ea1565b6001600160a01b03831661109d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161068e565b6001600160a01b0382166110ff5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161068e565b61110a838383611839565b6001600160a01b038316600090815260208190526040902054818110156111825760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161068e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610967565b60008060006111f660025490565b905060006112026112c8565b9050600061120f82611737565b60115460125461121f9047612004565b6112299190612017565b6112339190612017565b905060008360125460647f0000000000000000000000000000000000000000000000000000000000000000606461126a9190612017565b611274908661202a565b61127e9190612041565b6112889190612017565b611292908961202a565b61129c9190612041565b9050600084601154896112af919061202a565b6112b99190612041565b91989197509095505050505050565b6000610748600c5490565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561132c57507f000000000000000000000000000000000000000000000000000000000000000046145b1561135657507f000000000000000000000000000000000000000000000000000000000000000090565b610748604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b03821661145e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161068e565b61146a82600083611839565b6001600160a01b038216600090815260208190526040902054818110156114de5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161068e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600080600084116115885760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b604482015260640161068e565b6115906112c8565b8411156115df5760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015260640161068e565b60006115eb8486611844565b8454909150810361160357600080925092505061162b565b600184600101828154811061161a5761161a612063565b906000526020600020015492509250505b9250929050565b606060ff831461164c57611645836118f1565b90506105de565b81805461165890611fba565b80601f016020809104026020016040519081016040528092919081815260200182805461168490611fba565b80156116d15780601f106116a6576101008083540402835291602001916116d1565b820191906000526020600020905b8154815290600101906020018083116116b457829003601f168201915b505050505090506105de565b60006116ed600c80546001019055565b60006116f76112c8565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161172a91815260200190565b60405180910390a1919050565b6000818152600f6020908152604080832054600e90925282205461175b9190612017565b9050600282106117b757600f6000611774600185612017565b815260200190815260200160002054600e60006001856117949190612017565b8152602001908152602001600020546117ad9190612017565b6105de9082612004565b919050565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b60006105de6117f16112d3565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600061182287878787611930565b9150915061182f816119f4565b5095945050505050565b610868838383611b41565b81546000908103611857575060006105de565b82546000905b808210156118a45760006118718383611b89565b600087815260209020909150859082015411156118905780915061189e565b61189b816001612004565b92505b5061185d565b6000821180156118d05750836118cd866118bf600186612017565b600091825260209091200190565b54145b156118e9576118e0600183612017565b925050506105de565b5090506105de565b606060006118fe83611ba4565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561196757506000905060036119eb565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156119bb573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166119e4576000600192509250506119eb565b9150600090505b94509492505050565b6000816004811115611a0857611a08612079565b03611a105750565b6001816004811115611a2457611a24612079565b03611a715760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161068e565b6002816004811115611a8557611a85612079565b03611ad25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161068e565b6003816004811115611ae657611ae6612079565b03611b3e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161068e565b50565b6001600160a01b038316611b6057611b5882611bcc565b610868611bfe565b6001600160a01b038216611b7757611b5883611bcc565b611b8083611bcc565b61086882611bcc565b6000611b986002848418612041565b610c8290848416612004565b600060ff8216601f8111156105de57604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b03811660009081526009602090815260408083209183905290912054611b3e9190611c0e565b611c0e565b611c0c600a611bf960025490565b565b6000611c186112c8565b905080611c2484611c58565b1015610868578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b80546000908103611c6b57506000919050565b81548290611c7b90600190612017565b81548110611c8b57611c8b612063565b90600052602060002001549050919050565b6000815180845260005b81811015611cc357602081850181015186830182015201611ca7565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c826020830184611c9d565b80356001600160a01b03811681146117b757600080fd5b60008060408385031215611d2057600080fd5b611d2983611cf6565b946020939093013593505050565b600080600060608486031215611d4c57600080fd5b611d5584611cf6565b9250611d6360208501611cf6565b9150604084013590509250925092565b600060208284031215611d8557600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611db557600080fd5b823567ffffffffffffffff80821115611dcd57600080fd5b818501915085601f830112611de157600080fd5b813581811115611df357611df3611d8c565b8060051b604051601f19603f83011681018181108582111715611e1857611e18611d8c565b604052918252848201925083810185019188831115611e3657600080fd5b938501935b82851015611e5457843584529385019392850192611e3b565b98975050505050505050565b600060208284031215611e7257600080fd5b610c8282611cf6565b60ff60f81b881681526000602060e06020840152611e9c60e084018a611c9d565b8381036040850152611eae818a611c9d565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b81811015611f0257835183529284019291840191600101611ee6565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215611f2f57600080fd5b611f3888611cf6565b9650611f4660208901611cf6565b95506040880135945060608801359350608088013560ff81168114611f6a57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611f9a57600080fd5b611fa383611cf6565b9150611fb160208401611cf6565b90509250929050565b600181811c90821680611fce57607f821691505b6020821081036117de57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105de576105de611fee565b818103818111156105de576105de611fee565b80820281158282048414176105de576105de611fee565b60008261205e57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fdfea264697066735822122026aab6c56f19813b0d92051d1f610436ae0b53d2a98d2e699bf35c6b4b1d359c64736f6c6343000818003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000009e34000000000000000000000000000000000000000000000000000000000000000154f70656e4c4d20526576536861726520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f4c4d0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101a05760003560e01c806342966c68116100ec57806395d89b411161008a578063a457c2d711610064578063a457c2d7146104b8578063a9059cbb146104d8578063d505accf146104f8578063dd62ed3e1461051857600080fd5b806395d89b411461046e5780639711715a14610483578063981b24d01461049857600080fd5b806362abebce116100c657806362abebce146103d057806370a08231146103f05780637ecebe001461042657806384b0196e1461044657600080fd5b806342966c681461037a5780634ee2cd7e1461039a5780634f4ad3a6146103ba57600080fd5b80632be2bb11116101595780633644e515116101335780633644e5151461030e578063379607f51461032357806339509351146103455780633fe08f411461036557600080fd5b80632be2bb111461029e578063313ce567146102be57806332e2c0c2146102da57600080fd5b806306fdde03146101ac57806307d0413c146101d7578063095ea7b31461021957806318160ddd1461024957806323b872dd1461025e57806324888f981461027e57600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101c1610538565b6040516101ce9190611ce3565b60405180910390f35b3480156101e357600080fd5b5061020b7f000000000000000000000000000000000000000000000000000000000009e34081565b6040519081526020016101ce565b34801561022557600080fd5b50610239610234366004611d0d565b6105ca565b60405190151581526020016101ce565b34801561025557600080fd5b5060025461020b565b34801561026a57600080fd5b50610239610279366004611d37565b6105e4565b34801561028a57600080fd5b5061020b610299366004611d73565b610608565b3480156102aa57600080fd5b5061020b6102b9366004611d0d565b61062d565b3480156102ca57600080fd5b50604051601281526020016101ce565b3480156102e657600080fd5b5061020b7f000000000000000000000000000000000000000000000000000000000000005081565b34801561031a57600080fd5b5061020b61073e565b34801561032f57600080fd5b5061034361033e366004611d73565b61074d565b005b34801561035157600080fd5b50610239610360366004611d0d565b61086d565b34801561037157600080fd5b5061020b600281565b34801561038657600080fd5b50610343610395366004611d73565b61088f565b3480156103a657600080fd5b5061020b6103b5366004611d0d565b61096d565b3480156103c657600080fd5b5061020b600d5481565b3480156103dc57600080fd5b506103436103eb366004611da2565b6109c6565b3480156103fc57600080fd5b5061020b61040b366004611e60565b6001600160a01b031660009081526020819052604090205490565b34801561043257600080fd5b5061020b610441366004611e60565b6109fd565b34801561045257600080fd5b5061045b610a1b565b6040516101ce9796959493929190611e7b565b34801561047a57600080fd5b506101c1610aa4565b34801561048f57600080fd5b5061020b610ab3565b3480156104a457600080fd5b5061020b6104b3366004611d73565b610c61565b3480156104c457600080fd5b506102396104d3366004611d0d565b610c89565b3480156104e457600080fd5b506102396104f3366004611d0d565b610d04565b34801561050457600080fd5b50610343610513366004611f14565b610d12565b34801561052457600080fd5b5061020b610533366004611f87565b610e76565b60606003805461054790611fba565b80601f016020809104026020016040519081016040528092919081815260200182805461057390611fba565b80156105c05780601f10610595576101008083540402835291602001916105c0565b820191906000526020600020905b8154815290600101906020018083116105a357829003601f168201915b5050505050905090565b6000336105d8818585610ea1565b60019150505b92915050565b6000336105f2858285610fc5565b6105fd858585611039565b506001949350505050565b6000806000610616846111e8565b90925090506106258183612004565b949350505050565b60008181526010602090815260408083206001600160a01b038616845290915281205460ff16156106975760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e4818db185a5b5959608a1b60448201526064015b60405180910390fd5b60006106a16112c8565b905060026106af8483612017565b106106f35760405162461bcd60e51b8152602060048201526014602482015273736e617073686f7420756e636c61696d61626c6560601b604482015260640161068e565b60006106ff858561096d565b9050600061070c85610c61565b6000868152600e602052604090205490915081610729828561202a565b6107339190612041565b979650505050505050565b60006107486112d3565b905090565b6000610759338361062d565b90506000811161079e5760405162461bcd60e51b815260206004820152601060248201526f0dcde40c6d8c2d2dac2c4d8ca408aa8960831b604482015260640161068e565b60008281526010602090815260408083203384528252808320805460ff19166001179055848352600f909152812080548392906107dc908490612004565b9091555050604051600090339083908381818185875af1925050503d8060008114610823576040519150601f19603f3d011682016040523d82523d6000602084013e610828565b606091505b50509050806108685760405162461bcd60e51b815260206004820152600c60248201526b18db185a5b4819985a5b195960a21b604482015260640161068e565b505050565b6000336105d88185856108808383610e76565b61088a9190612004565b610ea1565b60008061089b836111e8565b9150915080601160008282546108b19190612017565b9250508190555081601260008282546108ca9190612004565b909155506108da905033846113fe565b6000336108e78385612004565b604051600081818185875af1925050503d8060008114610923576040519150601f19603f3d011682016040523d82523d6000602084013e610928565b606091505b50509050806109675760405162461bcd60e51b815260206004820152600b60248201526a189d5c9b8819985a5b195960aa1b604482015260640161068e565b50505050565b6001600160a01b03821660009081526009602052604081208190819061099490859061153c565b91509150816109bb576001600160a01b0385166000908152602081905260409020546109bd565b805b95945050505050565b805160005b81811015610868576109f58382815181106109e8576109e8612063565b602002602001015161074d565b6001016109cb565b6001600160a01b0381166000908152600760205260408120546105de565b600060608082808083610a4f7f4f70656e4c4d20526576536861726520546f6b656e00000000000000000000156005611632565b610a7a7f31000000000000000000000000000000000000000000000000000000000000016006611632565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461054790611fba565b60007f000000000000000000000000000000000000000000000000000000000009e340600d5443610ae49190612017565b11610b315760405162461bcd60e51b815260206004820152601e60248201527f736e617073686f7420696e74657276616c20697320746f6f2073686f72740000604482015260640161068e565b6000610b3b6116dd565b43600d5590506000610b56610b51600184612017565b611737565b601154601254610b669047612004565b610b709190612017565b610b7a9190612017565b905060006064610baa7f00000000000000000000000000000000000000000000000000000000000000508461202a565b610bb49190612041565b905060028310610c1657600f6000610bcd600286612017565b815260200190815260200160002054600e6000600286610bed9190612017565b81526020019081526020016000205482610c079190612004565b610c119190612017565b610c18565b805b6000848152600e6020526040902055601254610c348284612017565b610c3e9190612017565b60116000828254610c4f9190612004565b90915550506000601255509092915050565b6000806000610c7184600a61153c565b9150915081610c8257600254610625565b9392505050565b60003381610c978286610e76565b905083811015610cf75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161068e565b6105fd8286868403610ea1565b6000336105d8818585611039565b83421115610d625760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015260640161068e565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610d918c6117bc565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610dec826117e4565b90506000610dfc82878787611811565b9050896001600160a01b0316816001600160a01b031614610e5f5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015260640161068e565b610e6a8a8a8a610ea1565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610f035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161068e565b6001600160a01b038216610f645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161068e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fd18484610e76565b90506000198114610967578181101561102c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161068e565b6109678484848403610ea1565b6001600160a01b03831661109d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161068e565b6001600160a01b0382166110ff5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161068e565b61110a838383611839565b6001600160a01b038316600090815260208190526040902054818110156111825760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161068e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610967565b60008060006111f660025490565b905060006112026112c8565b9050600061120f82611737565b60115460125461121f9047612004565b6112299190612017565b6112339190612017565b905060008360125460647f0000000000000000000000000000000000000000000000000000000000000050606461126a9190612017565b611274908661202a565b61127e9190612041565b6112889190612017565b611292908961202a565b61129c9190612041565b9050600084601154896112af919061202a565b6112b99190612041565b91989197509095505050505050565b6000610748600c5490565b6000306001600160a01b037f000000000000000000000000e5018913f2fdf33971864804ddb5fca25c5390321614801561132c57507f000000000000000000000000000000000000000000000000000000000000000146145b1561135657507f200f10d0e8f10dab7421e0d972a46b31141ed38e9371c22175f200000370fbef90565b610748604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f448130d80a7f7acedf3ec56482aef5f286a08d1e5c2b4d57633e90bc8df90119918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b03821661145e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161068e565b61146a82600083611839565b6001600160a01b038216600090815260208190526040902054818110156114de5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161068e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600080600084116115885760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b604482015260640161068e565b6115906112c8565b8411156115df5760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015260640161068e565b60006115eb8486611844565b8454909150810361160357600080925092505061162b565b600184600101828154811061161a5761161a612063565b906000526020600020015492509250505b9250929050565b606060ff831461164c57611645836118f1565b90506105de565b81805461165890611fba565b80601f016020809104026020016040519081016040528092919081815260200182805461168490611fba565b80156116d15780601f106116a6576101008083540402835291602001916116d1565b820191906000526020600020905b8154815290600101906020018083116116b457829003601f168201915b505050505090506105de565b60006116ed600c80546001019055565b60006116f76112c8565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161172a91815260200190565b60405180910390a1919050565b6000818152600f6020908152604080832054600e90925282205461175b9190612017565b9050600282106117b757600f6000611774600185612017565b815260200190815260200160002054600e60006001856117949190612017565b8152602001908152602001600020546117ad9190612017565b6105de9082612004565b919050565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b60006105de6117f16112d3565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600061182287878787611930565b9150915061182f816119f4565b5095945050505050565b610868838383611b41565b81546000908103611857575060006105de565b82546000905b808210156118a45760006118718383611b89565b600087815260209020909150859082015411156118905780915061189e565b61189b816001612004565b92505b5061185d565b6000821180156118d05750836118cd866118bf600186612017565b600091825260209091200190565b54145b156118e9576118e0600183612017565b925050506105de565b5090506105de565b606060006118fe83611ba4565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561196757506000905060036119eb565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156119bb573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166119e4576000600192509250506119eb565b9150600090505b94509492505050565b6000816004811115611a0857611a08612079565b03611a105750565b6001816004811115611a2457611a24612079565b03611a715760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161068e565b6002816004811115611a8557611a85612079565b03611ad25760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161068e565b6003816004811115611ae657611ae6612079565b03611b3e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161068e565b50565b6001600160a01b038316611b6057611b5882611bcc565b610868611bfe565b6001600160a01b038216611b7757611b5883611bcc565b611b8083611bcc565b61086882611bcc565b6000611b986002848418612041565b610c8290848416612004565b600060ff8216601f8111156105de57604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b03811660009081526009602090815260408083209183905290912054611b3e9190611c0e565b611c0e565b611c0c600a611bf960025490565b565b6000611c186112c8565b905080611c2484611c58565b1015610868578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b80546000908103611c6b57506000919050565b81548290611c7b90600190612017565b81548110611c8b57611c8b612063565b90600052602060002001549050919050565b6000815180845260005b81811015611cc357602081850181015186830182015201611ca7565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c826020830184611c9d565b80356001600160a01b03811681146117b757600080fd5b60008060408385031215611d2057600080fd5b611d2983611cf6565b946020939093013593505050565b600080600060608486031215611d4c57600080fd5b611d5584611cf6565b9250611d6360208501611cf6565b9150604084013590509250925092565b600060208284031215611d8557600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611db557600080fd5b823567ffffffffffffffff80821115611dcd57600080fd5b818501915085601f830112611de157600080fd5b813581811115611df357611df3611d8c565b8060051b604051601f19603f83011681018181108582111715611e1857611e18611d8c565b604052918252848201925083810185019188831115611e3657600080fd5b938501935b82851015611e5457843584529385019392850192611e3b565b98975050505050505050565b600060208284031215611e7257600080fd5b610c8282611cf6565b60ff60f81b881681526000602060e06020840152611e9c60e084018a611c9d565b8381036040850152611eae818a611c9d565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b81811015611f0257835183529284019291840191600101611ee6565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215611f2f57600080fd5b611f3888611cf6565b9650611f4660208901611cf6565b95506040880135945060608801359350608088013560ff81168114611f6a57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611f9a57600080fd5b611fa383611cf6565b9150611fb160208401611cf6565b90509250929050565b600181811c90821680611fce57607f821691505b6020821081036117de57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105de576105de611fee565b818103818111156105de576105de611fee565b80820281158282048414176105de576105de611fee565b60008261205e57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fdfea264697066735822122026aab6c56f19813b0d92051d1f610436ae0b53d2a98d2e699bf35c6b4b1d359c64736f6c63430008180033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000009e34000000000000000000000000000000000000000000000000000000000000000154f70656e4c4d20526576536861726520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f4c4d0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): OpenLM RevShare Token
Arg [1] : symbol (string): OLM
Arg [2] : supply (uint256): 1000000000000000000000000000
Arg [3] : _percentClaimable (uint256): 80
Arg [4] : _snapshotInterval (uint256): 648000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [4] : 000000000000000000000000000000000000000000000000000000000009e340
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [6] : 4f70656e4c4d20526576536861726520546f6b656e0000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 4f4c4d0000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.