PostOffice

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xdfd09785 at 17319026
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots

No balances found for "PostOffice"

No transactions found for "PostOffice"


Functions
Getter at block 21219809
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
relayer(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
packageInfo(uint256view returns (uint8 packageStatusuint8 capsuleTypeaddress manageraddress receiverstruct PostOfficeStorageSecurityInfo securityInfo)
securityInfo(uint256 packageId_view returns (struct PostOfficeStorageSecurityInfo)
State-modifying
acceptGovernorship(
cancelPackage(uint256 packageId_address contentReceiver_
deliverPackage(uint256 packageId_
initialize(address capsuleMinter_address capsuleCollection_address capsuleProxy_
pause(
pickup(uint256 packageId_string rawPassword_string salt_bool shouldRedeem_payable 
privatePickup(uint256 packageId_string rawPassword_string salt_bool shouldRedeem_address receiver_
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_
updateRelayer(address newRelayer_
updateRoyaltyConfig(address royaltyReceiver_uint256 royaltyRate_
Events
Initialized(uint8 version
PackageAssetKeyUpdated(uint256 indexed packageIdaddress indexed keyAddressuint256 keyId
PackageCancelled(uint256 indexed packageIdaddress indexed receiver
PackageDelivered(uint256 indexed packageIdaddress indexed receiver
PackageManagerUpdated(uint256 indexed packageIdaddress indexed oldPackageManageraddress indexed newPackageManager
PackagePasswordHashUpdated(uint256 indexed packageIdbytes32 passwordHash
PackageReceiverUpdated(uint256 indexed packageIdaddress indexed oldReceiveraddress indexed newReceiver
PackageRedeemed(uint256 indexed packageIdaddress indexed burnFromaddress indexed receiver
PackageShipped(uint256 indexed packageIdaddress indexed senderaddress indexed receiver
PackageUnlockTimestampUpdated(uint256 indexed packageIduint256 unlockTimestamp
Paused(address account
Unpaused(address account
UpdatedGovernor(address indexed previousGovernoraddress indexed proposedGovernor
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressIsNull(
CallerIsNotAssetKeyHolder(
CallerIsNotAssetKeyOwner(
CallerIsNotGovernor(
CallerIsNotTheProposedGovernor(
NotAuthorized(
NotReceiver(
NotRelayer(
PackageIsStillLocked(
PasswordMismatched(
ProposedGovernorIsNull(
ReceiverIsMissing(
WrongPackageStatus(uint8 arg0