add nft code & script
This commit is contained in:
1 parent
7b8b45295a
commit
21bed2c1f3
8 files changed
+484
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
int op::transfer() asm "0x5fcc3d14 PUSHINT";
|
||||
int op::ownership_assigned() asm "0x05138d91 PUSHINT";
|
||||
int op::excesses() asm "0xd53276db PUSHINT";
|
||||
int op::get_static_data() asm "0x2fcb26a2 PUSHINT";
|
||||
int op::report_static_data() asm "0x8b771735 PUSHINT";
|
||||
int op::get_royalty_params() asm "0x693d3950 PUSHINT";
|
||||
int op::report_royalty_params() asm "0xa8cb00ad PUSHINT";
|
||||
|
||||
;; NFTEditable
|
||||
int op::edit_content() asm "0x1a0b9d51 PUSHINT";
|
||||
int op::transfer_editorship() asm "0x1c04412a PUSHINT";
|
||||
int op::editorship_assigned() asm "0x511a4463 PUSHINT";
|
||||
|
||||
;; SBT
|
||||
int op::request_owner() asm "0xd0c3bfea PUSHINT";
|
||||
int op::owner_info() asm "0x0dd607e3 PUSHINT";
|
||||
|
||||
int op::prove_ownership() asm "0x04ded148 PUSHINT";
|
||||
int op::ownership_proof() asm "0x0524c7ae PUSHINT";
|
||||
int op::ownership_proof_bounced() asm "0xc18e86d2 PUSHINT";
|
||||
|
||||
int op::destroy() asm "0x1f04537a PUSHINT";
|
||||
int op::revoke() asm "0x6f89f5e3 PUSHINT";
|
||||
int op::take_excess() asm "0xd136d3b3 PUSHINT";
|
||||
@@ -0,0 +1,10 @@
|
||||
int workchain() asm "0 PUSHINT";
|
||||
|
||||
() force_chain(slice addr) impure {
|
||||
(int wc, _) = parse_std_addr(addr);
|
||||
throw_unless(333, wc == workchain());
|
||||
}
|
||||
|
||||
slice null_addr() asm "b{00} PUSHSLICE";
|
||||
int flag::regular() asm "0x10 PUSHINT";
|
||||
int flag::bounce() asm "0x8 PUSHINT";
|
||||
@@ -621,5 +621,7 @@ int get_seed() impure asm "RANDSEED";
|
||||
int equal_slice_bits(slice a, slice b) asm "SDEQ";
|
||||
int equal_slices(slice a, slice b) asm "SDEQ";
|
||||
|
||||
int builder_null?(builder b) asm "ISNULL";
|
||||
|
||||
;;; Concatenates two builders
|
||||
builder store_builder(builder to, builder from) asm "STBR";
|
||||
builder store_builder(builder to, builder from) asm "STBR";
|
||||
Reference in new issue
Block a user