PostOffice
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "PostOffice"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PostOffice"
ABI
ABI objects
Getter at block 21400627
VERSION() view returns (string)
1.0.0
capsuleMinter() view returns (address)
0x0000000000000000000000000000000000000000
capsuleProxy() view returns (address)
0x0000000000000000000000000000000000000000
governor() view returns (address)
0x53a50ac9bb98dfd61d4031390ebecc4e2bd7f9b1
packagingCollection() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
Read-only
packageInfo(uint256) view returns (uint8 packageStatus, uint8 capsuleType, address manager, address receiver, struct PostOfficeStorageSecurityInfo securityInfo)
securityInfo(uint256 packageId_) view returns (struct PostOfficeStorageSecurityInfo)
State-modifying
Events acceptGovernorship()
acceptPackage(uint256 packageId_, string rawPassword_, string salt_, bool redeemPackage_) payable
cancelPackage(uint256 packageId_, address contentReceiver_)
deliverPackage(uint256 packageId_)
initialize(address capsuleMinter_, address capsuleCollection_, address capsuleProxy_)
pause()
redeemPackage(uint256 packageId_, address receiver_)
shipPackage(struct CapsuleDataCapsuleContent packageContent_, struct PostOfficeStorageSecurityInfo securityInfo_, address receiver_) payable returns (uint256 _packageId)
sweep(address _token)
transferCollectionOwnership(address newOwner_)
transferGovernorship(address proposedGovernor_)
unpause()
updateBaseURI(string baseURI_)
updateCollectionBurner(address _newBurner)
updateMetamaster(address metamaster_)
updatePackageAssetKey(uint256 packageId_, address newKeyAddress_, uint256 newKeyId_)
updatePackageManager(uint256 packageId_, address newPackageManager_)
updatePackagePasswordHash(uint256 packageId_, bytes32 newPasswordHash_)
updatePackageReceiver(uint256 packageId_, address newReceiver_)
updatePackageUnlockTimestamp(uint256 packageId_, uint64 newUnlockTimestamp_)
updateRoyaltyConfig(address royaltyReceiver_, uint256 royaltyRate_)
Initialized(uint8 version)
PackageAssetKeyUpdated(uint256 indexed packageId, address indexed keyAddress, uint256 keyId)
PackageCancelled(uint256 indexed packageId, address indexed receiver)
PackageDelivered(uint256 indexed packageId, address indexed receiver)
PackageManagerUpdated(uint256 indexed packageId, address indexed oldPackageManager, address indexed newPackageManager)
PackagePasswordHashUpdated(uint256 indexed packageId, bytes32 passwordHash)
PackageReceiverUpdated(uint256 indexed packageId, address indexed oldReceiver, address indexed newReceiver)
PackageRedeemed(uint256 indexed packageId, address indexed burnFrom, address indexed receiver)
PackageShipped(uint256 indexed packageId, address indexed sender, address indexed receiver)
PackageUnlockTimestampUpdated(uint256 indexed packageId, uint256 unlockTimestamp)
Paused(address account)
Unpaused(address account)
UpdatedGovernor(address indexed previousGovernor, address indexed proposedGovernor)
constructor()
This contract contains no fallback and receive objects.
AddressIsNull()
CallerIsNotAssetKeyHolder()
CallerIsNotAssetKeyOwner()
CallerIsNotGovernor()
CallerIsNotTheProposedGovernor()
NotAuthorized()
NotReceiver()
PackageIsStillLocked()
PasswordMismatched()
ProposedGovernorIsNull()
ReceiverIsMissing()
WrongPackageStatus(uint8 arg0)