11component
22
3- import miden:base/tx-kernel @1.0.0::create-note fn(( u64, u64, u64, u64), u64, ( u64, u64, u64, u64)) mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower module0::basic_wallet::bindings::miden::base::tx_kernel ::create_note::wit_import
4- import miden:base/tx-kernel @1.0.0::add-asset fn(( u64, u64, u64, u64) ) -> ( u64, u64, u64, u64) mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower wit-component:fixups::func0
5- import miden:base/tx-kernel @1.0.0::remove-asset fn(( u64, u64, u64, u64) ) -> ( u64, u64, u64, u64) mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower wit-component:fixups::func1
3+ import miden:base/tx@1.0.0::create-note fn(struct {(struct { u64}, struct { u64}, struct { u64}, struct { u64})}, struct {struct { u64}}, struct {(struct { u64}, struct { u64}, struct { u64}, struct { u64})}) -> struct {struct {u64}} mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower module0::basic_wallet::bindings::miden::base::tx ::create_note::wit_import
4+ import miden:base/account @1.0.0::add-asset fn(struct {(struct { u64}, struct { u64}, struct { u64}, struct { u64})} ) -> struct {(struct { u64}, struct { u64}, struct { u64}, struct { u64})} mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower wit-component:fixups::func0
5+ import miden:base/account @1.0.0::remove-asset fn(struct {(struct { u64}, struct { u64}, struct { u64}, struct { u64})} ) -> struct {(struct { u64}, struct { u64}, struct { u64}, struct { u64})} mast#0x0000000000000000000000000000000000000000000000000000000000000000 lower wit-component:fixups::func1
66
77module wit-component:shim {
88
9- pub fn indirect-miden:base/tx-kernel @1.0.0-add-asset(i64, i64, i64, i64, i32) {
9+ pub fn indirect-miden:base/account @1.0.0-add-asset(i64, i64, i64, i64, i32) {
1010 block0(v0: i64, v1: i64, v2: i64, v3: i64, v4: i32):
1111 v5 = const.i32 0 : i32;
1212 br block1;
@@ -15,7 +15,7 @@ module wit-component:shim {
1515 ret;
1616 }
1717
18- pub fn indirect-miden:base/tx-kernel @1.0.0-remove-asset(i64, i64, i64, i64, i32) {
18+ pub fn indirect-miden:base/account @1.0.0-remove-asset(i64, i64, i64, i64, i32) {
1919 block0(v0: i64, v1: i64, v2: i64, v3: i64, v4: i32):
2020 v5 = const.i32 1 : i32;
2121 br block1;
@@ -48,7 +48,7 @@ module module0 {
4848 v8 = global.symbol @__stack_pointer : *mut i32;
4949 store v8, v7;
5050 call module0::wit_bindgen::rt::run_ctors_once();
51- call wit-component:shim::indirect-miden:base/tx-kernel @1.0.0-add-asset(v0, v1, v2, v3, v7);
51+ call wit-component:shim::indirect-miden:base/account @1.0.0-add-asset(v0, v1, v2, v3, v7);
5252 v9 = const.i32 32 : i32;
5353 v10 = add.wrapping v7, v9 : i32;
5454 v11 = global.symbol @__stack_pointer : *mut i32;
@@ -68,7 +68,7 @@ module module0 {
6868 v13 = global.symbol @__stack_pointer : *mut i32;
6969 store v13, v12;
7070 call module0::wit_bindgen::rt::run_ctors_once();
71- call wit-component:shim::indirect-miden:base/tx-kernel @1.0.0-remove-asset(v0, v1, v2, v3, v12);
71+ call wit-component:shim::indirect-miden:base/account @1.0.0-remove-asset(v0, v1, v2, v3, v12);
7272 v14 = cast v12 : u32;
7373 v15 = inttoptr v14 : *mut i64;
7474 v16 = load v15 : i64;
@@ -87,11 +87,11 @@ module module0 {
8787 v29 = cast v28 : u32;
8888 v30 = inttoptr v29 : *mut i64;
8989 v31 = load v30 : i64;
90- call module0::basic_wallet::bindings::miden::base::tx_kernel ::create_note::wit_import(v16, v21, v26, v31, v4, v5, v6, v7, v8);
91- v32 = const.i32 32 : i32;
92- v33 = add.wrapping v12, v32 : i32;
93- v34 = global.symbol @__stack_pointer : *mut i32;
94- store v34, v33 ;
90+ v32 = call module0::basic_wallet::bindings::miden::base::tx ::create_note::wit_import(v16, v21, v26, v31, v4, v5, v6, v7, v8) : i64 ;
91+ v33 = const.i32 32 : i32;
92+ v34 = add.wrapping v12, v33 : i32;
93+ v35 = global.symbol @__stack_pointer : *mut i32;
94+ store v35, v34 ;
9595 br block1;
9696
9797 block1:
@@ -907,9 +907,9 @@ module module0 {
907907 }
908908
909909
910- pub fn wit-component:shim::indirect-miden:base/tx-kernel @1.0.0-add-asset(i64, i64, i64, i64, i32);
910+ pub fn wit-component:shim::indirect-miden:base/account @1.0.0-add-asset(i64, i64, i64, i64, i32);
911911
912- pub fn wit-component:shim::indirect-miden:base/tx-kernel @1.0.0-remove-asset(i64, i64, i64, i64, i32);
912+ pub fn wit-component:shim::indirect-miden:base/account @1.0.0-remove-asset(i64, i64, i64, i64, i32);
913913}
914914
915915module wit-component:fixups {
0 commit comments