Badge collection
این محتوا هنوز به زبان شما در دسترس نیست.
Mints soulbound TEP-85 badges.
Accepts
Section titled “Accepts”| Message | Opcode | Fields |
|---|---|---|
MintBadge |
0x721bcf77 |
queryId: uint64, owner: address, kind: uint16 |
SetBadgeIssuer |
0x3e430500 |
queryId: uint64, issuer: address |
ReturnExcessesBack |
0xd53276db |
queryId: uint64 |
| Message | Opcode | Fields |
|---|---|---|
ReturnExcessesBack |
0xd53276db |
queryId: uint64 |
InitBadge |
0x4a254623 |
queryId: uint64, owner: address, kind: uint16, authority: address |
Getters
Section titled “Getters”| Getter | Parameters | Returns |
|---|---|---|
get_collection_data |
— | BadgeCollectionData |
get_nft_address_by_index |
index: uint256 |
address |
get_badge_address |
owner: address, kind: uint16 |
address |
get_nft_content |
index: uint256, individualContent: cell |
cell |
get_badge_issuer |
— | address |
get_code_version |
— | CodeVersion |
MintBadge
Section titled “MintBadge”Opcode 0x721bcf77.
| Field | Type |
|---|---|
queryId |
uint64 |
owner |
address |
kind |
uint16 |
SetBadgeIssuer
Section titled “SetBadgeIssuer”Opcode 0x3e430500.
| Field | Type |
|---|---|
queryId |
uint64 |
issuer |
address |
ReturnExcessesBack
Section titled “ReturnExcessesBack”Opcode 0xd53276db.
| Field | Type |
|---|---|
queryId |
uint64 |
InitBadge
Section titled “InitBadge”Opcode 0x4a254623.
| Field | Type |
|---|---|
queryId |
uint64 |
owner |
address |
kind |
uint16 |
authority |
address |
BadgeCollectionData
Section titled “BadgeCollectionData”| Field | Type |
|---|---|
nextItemIndex |
int |
collectionContent |
cell |
ownerAddress |
address |
CodeVersion
Section titled “CodeVersion”| Field | Type |
|---|---|
major |
uint8 |
minor |
uint8 |
patch |
uint8 |