Coinage Trial Pass
Verified contract
Proxy
Active on
Base with 1,313 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 999 additional slots
-
variable spans 999 additional slots
-
variable spans 999 additional slots
0xc222…951b
35 additional
variables
Balances ($6.07)
Native
Value
$6.07
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.001821 | $3,331.96 |
$6.07 | |
UDT | ERC-20 | 0.011119 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22223280 | 13 days ago | | | 0 | 2.9169879e-7 | |
| 22090736 | 16 days ago | | | 0 | 2.2317420e-7 | |
| 21852966 | 21 days ago | | | 0.0007 | 0.0000026727842 | |
| 21844225 | 21 days ago | | | 0.0007 | 0.0000037207958 | |
| 21811192 | 22 days ago | | | 0 | 2.9352438e-7 | |
| 21804305 | 22 days ago | | | 0.0007 | 0.0000035748739 | |
| 21802977 | 22 days ago | | | 0.0007 | 0.0000035747715 | |
| 21802518 | 22 days ago | | | 0.0007 | 0.0000035775679 | |
| 21802132 | 22 days ago | | | 0.0007 | 0.0000035830006 | |
| 21798563 | 22 days ago | | | 0.0007 | 0.0000035830006 |
ABI
ABI objects
Getter at block 22765346
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
expirationDuration() view returns (uint256)
2592000
freeTrialLength() view returns (uint256)
0
gasRefundValue() view returns (uint256 _refundValue)
0
keyPrice() view returns (uint256)
700000000000000
maxKeysPerAddress() view returns (uint256)
1
maxNumberOfKeys() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
name() view returns (string)
Coinage Trial Pass
numberOfOwners() view returns (uint256)
1242
onKeyCancelHook() view returns (address)
0x0000000000000000000000000000000000000000
onKeyExtendHook() view returns (address)
0x0000000000000000000000000000000000000000
onKeyGrantHook() view returns (address)
0x0000000000000000000000000000000000000000
onKeyPurchaseHook() view returns (address)
0xc2227b9fc792a5933e64fe9f782fdeddaf49951b
onKeyTransferHook() view returns (address)
0x0000000000000000000000000000000000000000
onTokenURIHook() view returns (address)
0x0000000000000000000000000000000000000000
onValidKeyHook() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x4ce2dd8373ece0d7baaa16e559a5817cc875b16a
publicLockVersion() pure returns (uint16)
13
refundPenaltyBasisPoints() view returns (uint256)
10000
schemaVersion() view returns (uint256)
13
symbol() view returns (string)
TRIAL
tokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
totalSupply() view returns (uint256)
1242
transferFeeBasisPoints() view returns (uint256)
10000
unlockProtocol() view returns (address)
0xd0b14797b9d08493392865647384974470202a78
Read-only
balanceOf(address _keyOwner) view returns (uint256 balance)
getApproved(uint256 _tokenId) view returns (address)
getCancelAndRefundValue(uint256 _tokenId) view returns (uint256 refund)
getHasValidKey(address _keyOwner) view returns (bool isValid)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTransferFee(uint256 _tokenId, uint256 _time) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address _owner, address _operator) view returns (bool)
isLockManager(address account) view returns (bool)
isOwner(address account) view returns (bool)
isRenewable(uint256 _tokenId, address _referrer) view returns (bool)
isValidKey(uint256 _tokenId) view returns (bool)
keyExpirationTimestampFor(uint256 _tokenId) view returns (uint256)
keyManagerOf(uint256) view returns (address)
ownerOf(uint256 _tokenId) view returns (address)
purchasePriceFor(address _recipient, address _referrer, bytes _data) view returns (uint256 minKeyPrice)
referrerFees(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 _index) view returns (uint256)
tokenOfOwnerByIndex(address _keyOwner, uint256 _index) view returns (uint256)
tokenURI(uint256 _tokenId) view returns (string)
totalKeys(address _keyOwner) view returns (uint256)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addLockManager(address account)
approve(address _approved, uint256 _tokenId)
burn(uint256 _tokenId)
cancelAndRefund(uint256 _tokenId)
expireAndRefundFor(uint256 _tokenId, uint256 _amount)
extend(uint256 _value, uint256 _tokenId, address _referrer, bytes _data) payable
grantKeyExtension(uint256 _tokenId, uint256 _duration)
grantKeys(address[] _recipients, uint256[] _expirationTimestamps, address[] _keyManagers) returns (uint256[])
grantRole(bytes32 role, address account)
initialize(address _lockCreator, uint256 _expirationDuration, address _tokenAddress, uint256 _keyPrice, uint256 _maxNumberOfKeys, string _lockName)
lendKey(address _from, address _recipient, uint256 _tokenId)
mergeKeys(uint256 _tokenIdFrom, uint256 _tokenIdTo, uint256 _amount)
migrate(bytes)
purchase(uint256[] _values, address[] _recipients, address[] _referrers, address[] _keyManagers, bytes[] _data) payable returns (uint256[])
renewMembershipFor(uint256 _tokenId, address _referrer)
renounceLockManager()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
safeTransferFrom(address _from, address _to, uint256 _tokenId)
safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes _data)
setApprovalForAll(address _to, bool _approved)
setEventHooks(address _onKeyPurchaseHook, address _onKeyCancelHook, address _onValidKeyHook, address _onTokenURIHook, address _onKeyTransferHook, address _onKeyExtendHook, address _onKeyGrantHook)
setGasRefundValue(uint256 _refundValue)
setKeyManagerOf(uint256 _tokenId, address _keyManager)
setLockMetadata(string _lockName, string _lockSymbol, string _baseTokenURI)
setOwner(address account)
setReferrerFee(address _referrer, uint256 _feeBasisPoint)
shareKey(address _to, uint256 _tokenIdFrom, uint256 _timeShared)
transferFrom(address _from, address _recipient, uint256 _tokenId)
unlendKey(address _recipient, uint256 _tokenId)
updateKeyPricing(uint256 _keyPrice, address _tokenAddress)
updateLockConfig(uint256 _newExpirationDuration, uint256 _maxNumberOfKeys, uint256 _maxKeysPerAcccount)
updateRefundPenalty(uint256 _freeTrialLength, uint256 _refundPenaltyBasisPoints)
updateSchemaVersion()
updateTransferFee(uint256 _transferFeeBasisPoints)
withdraw(address _tokenAddress, address _recipient, uint256 _amount)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
CancelKey(uint256 indexed tokenId, address indexed owner, address indexed sendTo, uint256 refund)
EventHooksUpdated(address onKeyPurchaseHook, address onKeyCancelHook, address onValidKeyHook, address onTokenURIHook, address onKeyTransferHook, address onKeyExtendHook, address onKeyGrantHook)
ExpirationChanged(uint256 indexed tokenId, uint256 newExpiration, uint256 amount, bool timeAdded)
ExpireKey(uint256 indexed tokenId)
GasRefundValueChanged(uint256 refundValue)
GasRefunded(address indexed receiver, uint256 refundedAmount, address tokenAddress)
Initialized(uint8 version)
KeyExtended(uint256 indexed tokenId, uint256 newTimestamp)
KeyGranterAdded(address indexed account)
KeyGranterRemoved(address indexed account)
KeyManagerChanged(uint256 indexed _tokenId, address indexed _newManager)
KeysMigrated(uint256 updatedRecordsCount)
LockConfig(uint256 expirationDuration, uint256 maxNumberOfKeys, uint256 maxKeysPerAcccount)
LockManagerAdded(address indexed account)
LockManagerRemoved(address indexed account)
LockMetadata(string name, string symbol, string baseTokenURI)
OwnershipTransferred(address previousOwner, address newOwner)
PricingChanged(uint256 oldKeyPrice, uint256 keyPrice, address oldTokenAddress, address tokenAddress)
ReferrerFee(address indexed referrer, uint256 fee)
RefundPenaltyChanged(uint256 freeTrialLength, uint256 refundPenaltyBasisPoints)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
TransferFeeChanged(uint256 transferFeeBasisPoints)
UnlockCallFailed(address indexed lockAddress, address unlockAddress)
Withdrawal(address indexed sender, address indexed tokenAddress, address indexed recipient, uint256 amount)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
receive()
CANNOT_APPROVE_SELF()
CANT_BE_SMALLER_THAN_SUPPLY()
CANT_EXTEND_NON_EXPIRING_KEY()
GAS_REFUND_FAILED()
INSUFFICIENT_ERC20_VALUE()
INSUFFICIENT_VALUE()
INVALID_ADDRESS()
INVALID_HOOK(uint8 hookIndex)
INVALID_LENGTH()
INVALID_TOKEN()
KEY_NOT_VALID()
KEY_TRANSFERS_DISABLED()
LOCK_HAS_CHANGED()
LOCK_SOLD_OUT()
MAX_KEYS_REACHED()
MIGRATION_REQUIRED()
NON_COMPLIANT_ERC721_RECEIVER()
NON_RENEWABLE_LOCK()
NOT_ENOUGH_FUNDS()
NOT_ENOUGH_TIME()
NOT_READY_FOR_RENEWAL()
NO_SUCH_KEY()
NULL_VALUE()
ONLY_KEY_MANAGER_OR_APPROVED()
ONLY_LOCK_MANAGER()
ONLY_LOCK_MANAGER_OR_KEY_GRANTER()
OUT_OF_RANGE()
OWNER_CANT_BE_ADDRESS_ZERO()
SCHEMA_VERSION_NOT_CORRECT()
TRANSFER_TO_SELF()
TransferFailed()
UNAUTHORIZED()
UNAUTHORIZED_KEY_MANAGER_UPDATE()