Coinage Trial Pass

Verified contract

Proxy

Active on Base with 1,313 txns
Deployed by via 0x6ee69f46 at 7499354
Slot
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
35 additional variables
Native
Value $6.07
ERC-20
--
0xe013aa51641b2d2df284dde7a04361ac0bc7821d3c59eeb36353e2475f872409
0xc1f580660cc5b0b5443553f1f82a4768bf41702bf73f205a4f4533927849cd24
0x779611a83d22a304f07a4923235aca285f02abc80c1525160076b7e498b5ed16
0x73f42982b96b1d84202457c286ab12cbec5f3cb8cefdd3ccc9d53c848dbe441f
0x153880da37fa9bca65df3c19b7d29724551cee78d954ede529d05c63b8c7c568
0xe9c9e7cfd95d3b2b9f861e36384ea5ac785f28746bf01629b56ea3606b2eace5
0x9821e83a1e946e8755acd2331261e768bcac574e1bc05e2cb00a7a031b83a48a
0xc8655c4a5e99b0f4919251bbfb9780c7cf20178356a89c4b42f894a7b23aa8de
0x1acb08f48345bebeaddc05c274d9c5be9974a7d4896eafa6b88aaa4e7c95db9a
0x8e3a324c69f9eecd1a2c58383dd565cffa7780e33cdf77535e574636481acd94

Functions
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 _keyOwnerview returns (uint256 balance)
getApproved(uint256 _tokenIdview returns (address)
getCancelAndRefundValue(uint256 _tokenIdview returns (uint256 refund)
getHasValidKey(address _keyOwnerview returns (bool isValid)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTransferFee(uint256 _tokenIduint256 _timeview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address _owneraddress _operatorview returns (bool)
isLockManager(address accountview returns (bool)
isOwner(address accountview returns (bool)
isRenewable(uint256 _tokenIdaddress _referrerview returns (bool)
isValidKey(uint256 _tokenIdview returns (bool)
keyExpirationTimestampFor(uint256 _tokenIdview returns (uint256)
keyManagerOf(uint256view returns (address)
ownerOf(uint256 _tokenIdview returns (address)
purchasePriceFor(address _recipientaddress _referrerbytes _dataview returns (uint256 minKeyPrice)
referrerFees(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 _indexview returns (uint256)
tokenOfOwnerByIndex(address _keyOwneruint256 _indexview returns (uint256)
tokenURI(uint256 _tokenIdview returns (string)
totalKeys(address _keyOwnerview returns (uint256)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addLockManager(address account
approve(address _approveduint256 _tokenId
burn(uint256 _tokenId
cancelAndRefund(uint256 _tokenId
expireAndRefundFor(uint256 _tokenIduint256 _amount
extend(uint256 _valueuint256 _tokenIdaddress _referrerbytes _datapayable 
grantKeyExtension(uint256 _tokenIduint256 _duration
grantKeys(address[] _recipientsuint256[] _expirationTimestampsaddress[] _keyManagersreturns (uint256[])
grantRole(bytes32 roleaddress account
initialize(address _lockCreatoruint256 _expirationDurationaddress _tokenAddressuint256 _keyPriceuint256 _maxNumberOfKeysstring _lockName
lendKey(address _fromaddress _recipientuint256 _tokenId
mergeKeys(uint256 _tokenIdFromuint256 _tokenIdTouint256 _amount
migrate(bytes
purchase(uint256[] _valuesaddress[] _recipientsaddress[] _referrersaddress[] _keyManagersbytes[] _datapayable returns (uint256[])
renewMembershipFor(uint256 _tokenIdaddress _referrer
renounceLockManager(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeTransferFrom(address _fromaddress _touint256 _tokenId
safeTransferFrom(address _fromaddress _touint256 _tokenIdbytes _data
setApprovalForAll(address _tobool _approved
setEventHooks(address _onKeyPurchaseHookaddress _onKeyCancelHookaddress _onValidKeyHookaddress _onTokenURIHookaddress _onKeyTransferHookaddress _onKeyExtendHookaddress _onKeyGrantHook
setGasRefundValue(uint256 _refundValue
setKeyManagerOf(uint256 _tokenIdaddress _keyManager
setLockMetadata(string _lockNamestring _lockSymbolstring _baseTokenURI
setOwner(address account
setReferrerFee(address _referreruint256 _feeBasisPoint
shareKey(address _touint256 _tokenIdFromuint256 _timeShared
transferFrom(address _fromaddress _recipientuint256 _tokenId
unlendKey(address _recipientuint256 _tokenId
updateKeyPricing(uint256 _keyPriceaddress _tokenAddress
updateLockConfig(uint256 _newExpirationDurationuint256 _maxNumberOfKeysuint256 _maxKeysPerAcccount
updateRefundPenalty(uint256 _freeTrialLengthuint256 _refundPenaltyBasisPoints
updateSchemaVersion(
updateTransferFee(uint256 _transferFeeBasisPoints
withdraw(address _tokenAddressaddress _recipientuint256 _amount
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
CancelKey(uint256 indexed tokenIdaddress indexed owneraddress indexed sendTouint256 refund
EventHooksUpdated(address onKeyPurchaseHookaddress onKeyCancelHookaddress onValidKeyHookaddress onTokenURIHookaddress onKeyTransferHookaddress onKeyExtendHookaddress onKeyGrantHook
ExpirationChanged(uint256 indexed tokenIduint256 newExpirationuint256 amountbool timeAdded
ExpireKey(uint256 indexed tokenId
GasRefundValueChanged(uint256 refundValue
GasRefunded(address indexed receiveruint256 refundedAmountaddress tokenAddress
Initialized(uint8 version
KeyExtended(uint256 indexed tokenIduint256 newTimestamp
KeyGranterAdded(address indexed account
KeyGranterRemoved(address indexed account
KeyManagerChanged(uint256 indexed _tokenIdaddress indexed _newManager
KeysMigrated(uint256 updatedRecordsCount
LockConfig(uint256 expirationDurationuint256 maxNumberOfKeysuint256 maxKeysPerAcccount
LockManagerAdded(address indexed account
LockManagerRemoved(address indexed account
LockMetadata(string namestring symbolstring baseTokenURI
OwnershipTransferred(address previousOwneraddress newOwner
PricingChanged(uint256 oldKeyPriceuint256 keyPriceaddress oldTokenAddressaddress tokenAddress
ReferrerFee(address indexed referreruint256 fee
RefundPenaltyChanged(uint256 freeTrialLengthuint256 refundPenaltyBasisPoints
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
TransferFeeChanged(uint256 transferFeeBasisPoints
UnlockCallFailed(address indexed lockAddressaddress unlockAddress
Withdrawal(address indexed senderaddress indexed tokenAddressaddress indexed recipientuint256 amount
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
receive(
Errors
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(