diff --git a/bindings/go/iota_sdk_ffi/iota_sdk_ffi.go b/bindings/go/iota_sdk_ffi/iota_sdk_ffi.go index cb214121e..cdc93ed05 100644 --- a/bindings/go/iota_sdk_ffi/iota_sdk_ffi.go +++ b/bindings/go/iota_sdk_ffi/iota_sdk_ffi.go @@ -3339,38 +3339,38 @@ func uniffiCheckChecksums() { } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create() + return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create() }) - if checksum != 18946 { + if checksum != 42248 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire() + return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire() }) - if checksum != 31328 { + if checksum != 58811 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch() + return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch() }) - if checksum != 16640 { + if checksum != 56235 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2() + return C.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2() }) - if checksum != 17262 { + if checksum != 13653 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2: UniFFI API checksum mismatch") } } { @@ -3456,38 +3456,38 @@ func uniffiCheckChecksums() { } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet() + return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new() }) - if checksum != 37366 { + if checksum != 13557 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local() + return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet() }) - if checksum != 55393 { + if checksum != 60053 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new() + return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local() }) - if checksum != 13557 { + if checksum != 12434 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet() + return C.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet() }) - if checksum != 16109 { + if checksum != 14673 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet: UniFFI API checksum mismatch") } } { @@ -4068,56 +4068,56 @@ func uniffiCheckChecksums() { } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1() + return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1() }) - if checksum != 14756 { + if checksum != 29264 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1() + return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1() }) - if checksum != 50635 { + if checksum != 27756 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch() + return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch() }) - if checksum != 65525 { + if checksum != 44556 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis() + return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis() }) - if checksum != 65272 { + if checksum != 45541 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction() + return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction() }) - if checksum != 51205 { + if checksum != 9153 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update() + return C.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update() }) - if checksum != 16439 { + if checksum != 37051 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update: UniFFI API checksum mismatch") } } { @@ -4131,101 +4131,101 @@ func uniffiCheckChecksums() { } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_address() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address() }) - if checksum != 44901 { + if checksum != 65087 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_address: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool() }) - if checksum != 19366 { + if checksum != 404 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer() }) - if checksum != 12676 { + if checksum != 49791 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct() }) - if checksum != 53303 { + if checksum != 40686 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128() }) - if checksum != 41280 { + if checksum != 24239 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16() }) - if checksum != 13801 { + if checksum != 14922 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256() }) - if checksum != 13310 { + if checksum != 41658 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32() }) - if checksum != 9870 { + if checksum != 59185 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64() }) - if checksum != 59470 { + if checksum != 29045 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8() }) - if checksum != 9403 { + if checksum != 55184 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8: UniFFI API checksum mismatch") } } { checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t { - return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector() + return C.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector() }) - if checksum != 46548 { + if checksum != 2453 { // If this happens try cleaning and rebuilding your project - panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector: UniFFI API checksum mismatch") + panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector: UniFFI API checksum mismatch") } } { @@ -7706,27 +7706,27 @@ type EndOfEpochTransactionKind struct { } -func EndOfEpochTransactionKindAuthenticatorStateCreate() *EndOfEpochTransactionKind { +func EndOfEpochTransactionKindNewAuthenticatorStateCreate() *EndOfEpochTransactionKind { return FfiConverterEndOfEpochTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_create(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_create(_uniffiStatus) })) } -func EndOfEpochTransactionKindAuthenticatorStateExpire(tx AuthenticatorStateExpire) *EndOfEpochTransactionKind { +func EndOfEpochTransactionKindNewAuthenticatorStateExpire(tx AuthenticatorStateExpire) *EndOfEpochTransactionKind { return FfiConverterEndOfEpochTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_expire(FfiConverterAuthenticatorStateExpireINSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_expire(FfiConverterAuthenticatorStateExpireINSTANCE.Lower(tx),_uniffiStatus) })) } -func EndOfEpochTransactionKindChangeEpoch(tx *ChangeEpoch) *EndOfEpochTransactionKind { +func EndOfEpochTransactionKindNewChangeEpoch(tx *ChangeEpoch) *EndOfEpochTransactionKind { return FfiConverterEndOfEpochTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch(FfiConverterChangeEpochINSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch(FfiConverterChangeEpochINSTANCE.Lower(tx),_uniffiStatus) })) } -func EndOfEpochTransactionKindChangeEpochV2(tx *ChangeEpochV2) *EndOfEpochTransactionKind { +func EndOfEpochTransactionKindNewChangeEpochV2(tx *ChangeEpochV2) *EndOfEpochTransactionKind { return FfiConverterEndOfEpochTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch_v2(FfiConverterChangeEpochV2INSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch_v2(FfiConverterChangeEpochV2INSTANCE.Lower(tx),_uniffiStatus) })) } @@ -8196,23 +8196,23 @@ func NewFaucetClient(faucetUrl string) *FaucetClient { // Set to devnet faucet. -func FaucetClientDevnet() *FaucetClient { +func FaucetClientNewDevnet() *FaucetClient { return FfiConverterFaucetClientINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_devnet(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_devnet(_uniffiStatus) })) } // Set to local faucet. -func FaucetClientLocal() *FaucetClient { +func FaucetClientNewLocal() *FaucetClient { return FfiConverterFaucetClientINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_local(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_local(_uniffiStatus) })) } // Set to testnet faucet. -func FaucetClientTestnet() *FaucetClient { +func FaucetClientNewTestnet() *FaucetClient { return FfiConverterFaucetClientINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_testnet(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_testnet(_uniffiStatus) })) } @@ -15116,39 +15116,39 @@ type TransactionKind struct { } -func TransactionKindAuthenticatorStateUpdateV1(tx AuthenticatorStateUpdateV1) *TransactionKind { +func TransactionKindNewAuthenticatorStateUpdateV1(tx AuthenticatorStateUpdateV1) *TransactionKind { return FfiConverterTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_authenticator_state_update_v1(FfiConverterAuthenticatorStateUpdateV1INSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_authenticator_state_update_v1(FfiConverterAuthenticatorStateUpdateV1INSTANCE.Lower(tx),_uniffiStatus) })) } -func TransactionKindConsensusCommitPrologueV1(tx *ConsensusCommitPrologueV1) *TransactionKind { +func TransactionKindNewConsensusCommitPrologueV1(tx *ConsensusCommitPrologueV1) *TransactionKind { return FfiConverterTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_consensus_commit_prologue_v1(FfiConverterConsensusCommitPrologueV1INSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_consensus_commit_prologue_v1(FfiConverterConsensusCommitPrologueV1INSTANCE.Lower(tx),_uniffiStatus) })) } -func TransactionKindEndOfEpoch(tx []*EndOfEpochTransactionKind) *TransactionKind { +func TransactionKindNewEndOfEpoch(tx []*EndOfEpochTransactionKind) *TransactionKind { return FfiConverterTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_end_of_epoch(FfiConverterSequenceEndOfEpochTransactionKindINSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_end_of_epoch(FfiConverterSequenceEndOfEpochTransactionKindINSTANCE.Lower(tx),_uniffiStatus) })) } -func TransactionKindGenesis(tx *GenesisTransaction) *TransactionKind { +func TransactionKindNewGenesis(tx *GenesisTransaction) *TransactionKind { return FfiConverterTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_genesis(FfiConverterGenesisTransactionINSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_genesis(FfiConverterGenesisTransactionINSTANCE.Lower(tx),_uniffiStatus) })) } -func TransactionKindProgrammableTransaction(tx *ProgrammableTransaction) *TransactionKind { +func TransactionKindNewProgrammableTransaction(tx *ProgrammableTransaction) *TransactionKind { return FfiConverterTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_programmable_transaction(FfiConverterProgrammableTransactionINSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_programmable_transaction(FfiConverterProgrammableTransactionINSTANCE.Lower(tx),_uniffiStatus) })) } -func TransactionKindRandomnessStateUpdate(tx RandomnessStateUpdate) *TransactionKind { +func TransactionKindNewRandomnessStateUpdate(tx RandomnessStateUpdate) *TransactionKind { return FfiConverterTransactionKindINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_randomness_state_update(FfiConverterRandomnessStateUpdateINSTANCE.Lower(tx),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_randomness_state_update(FfiConverterRandomnessStateUpdateINSTANCE.Lower(tx),_uniffiStatus) })) } @@ -15398,69 +15398,69 @@ type TypeTag struct { } -func TypeTagAddress() *TypeTag { +func TypeTagNewAddress() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_address(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_address(_uniffiStatus) })) } -func TypeTagBool() *TypeTag { +func TypeTagNewBool() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_bool(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_bool(_uniffiStatus) })) } -func TypeTagSigner() *TypeTag { +func TypeTagNewSigner() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_signer(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_signer(_uniffiStatus) })) } -func TypeTagStructTag(structTag *StructTag) *TypeTag { +func TypeTagNewStruct(structTag *StructTag) *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_struct_tag(FfiConverterStructTagINSTANCE.Lower(structTag),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_struct(FfiConverterStructTagINSTANCE.Lower(structTag),_uniffiStatus) })) } -func TypeTagU128() *TypeTag { +func TypeTagNewU128() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_u128(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u128(_uniffiStatus) })) } -func TypeTagU16() *TypeTag { +func TypeTagNewU16() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_u16(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u16(_uniffiStatus) })) } -func TypeTagU256() *TypeTag { +func TypeTagNewU256() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_u256(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u256(_uniffiStatus) })) } -func TypeTagU32() *TypeTag { +func TypeTagNewU32() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_u32(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u32(_uniffiStatus) })) } -func TypeTagU64() *TypeTag { +func TypeTagNewU64() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_u64(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u64(_uniffiStatus) })) } -func TypeTagU8() *TypeTag { +func TypeTagNewU8() *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_u8(_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u8(_uniffiStatus) })) } -func TypeTagVector(typeTag *TypeTag) *TypeTag { +func TypeTagNewVector(typeTag *TypeTag) *TypeTag { return FfiConverterTypeTagINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer { - return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_vector(FfiConverterTypeTagINSTANCE.Lower(typeTag),_uniffiStatus) + return C.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_vector(FfiConverterTypeTagINSTANCE.Lower(typeTag),_uniffiStatus) })) } diff --git a/bindings/go/iota_sdk_ffi/iota_sdk_ffi.h b/bindings/go/iota_sdk_ffi/iota_sdk_ffi.h index 5ed4ed68e..fb2cafe7b 100644 --- a/bindings/go/iota_sdk_ffi/iota_sdk_ffi.h +++ b/bindings/go/iota_sdk_ffi/iota_sdk_ffi.h @@ -1149,25 +1149,25 @@ void* uniffi_iota_sdk_ffi_fn_clone_endofepochtransactionkind(void* ptr, RustCall void uniffi_iota_sdk_ffi_fn_free_endofepochtransactionkind(void* ptr, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_CREATE -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_CREATE -void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_create(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_CREATE +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_CREATE +void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_create(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_EXPIRE -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_EXPIRE -void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_expire(RustBuffer tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_EXPIRE +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_EXPIRE +void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_expire(RustBuffer tx, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH -void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch(void* tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH +void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch(void* tx, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH_V2 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH_V2 -void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch_v2(void* tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH_V2 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH_V2 +void* uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch_v2(void* tx, RustCallStatus *out_status ); #endif #ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CLONE_EPOCH @@ -1281,26 +1281,26 @@ void* uniffi_iota_sdk_ffi_fn_clone_faucetclient(void* ptr, RustCallStatus *out_s void uniffi_iota_sdk_ffi_fn_free_faucetclient(void* ptr, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_DEVNET -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_DEVNET -void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_devnet(RustCallStatus *out_status - +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW +void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new(RustBuffer faucet_url, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_LOCAL -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_LOCAL -void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_local(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW_DEVNET +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW_DEVNET +void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_devnet(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW -void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new(RustBuffer faucet_url, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW_LOCAL +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW_LOCAL +void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_local(RustCallStatus *out_status + ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_TESTNET -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_TESTNET -void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_testnet(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW_TESTNET +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_FAUCETCLIENT_NEW_TESTNET +void* uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_testnet(RustCallStatus *out_status ); #endif @@ -2885,34 +2885,34 @@ void* uniffi_iota_sdk_ffi_fn_clone_transactionkind(void* ptr, RustCallStatus *ou void uniffi_iota_sdk_ffi_fn_free_transactionkind(void* ptr, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_AUTHENTICATOR_STATE_UPDATE_V1 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_AUTHENTICATOR_STATE_UPDATE_V1 -void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_authenticator_state_update_v1(RustBuffer tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_UPDATE_V1 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_UPDATE_V1 +void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_authenticator_state_update_v1(RustBuffer tx, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_CONSENSUS_COMMIT_PROLOGUE_V1 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_CONSENSUS_COMMIT_PROLOGUE_V1 -void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_consensus_commit_prologue_v1(void* tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_CONSENSUS_COMMIT_PROLOGUE_V1 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_CONSENSUS_COMMIT_PROLOGUE_V1 +void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_consensus_commit_prologue_v1(void* tx, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_END_OF_EPOCH -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_END_OF_EPOCH -void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_end_of_epoch(RustBuffer tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_END_OF_EPOCH +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_END_OF_EPOCH +void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_end_of_epoch(RustBuffer tx, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_GENESIS -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_GENESIS -void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_genesis(void* tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_GENESIS +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_GENESIS +void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_genesis(void* tx, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_PROGRAMMABLE_TRANSACTION -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_PROGRAMMABLE_TRANSACTION -void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_programmable_transaction(void* tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_PROGRAMMABLE_TRANSACTION +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_PROGRAMMABLE_TRANSACTION +void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_programmable_transaction(void* tx, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_RANDOMNESS_STATE_UPDATE -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_RANDOMNESS_STATE_UPDATE -void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_randomness_state_update(RustBuffer tx, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_RANDOMNESS_STATE_UPDATE +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TRANSACTIONKIND_NEW_RANDOMNESS_STATE_UPDATE +void* uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_randomness_state_update(RustBuffer tx, RustCallStatus *out_status ); #endif #ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CLONE_TRANSFEROBJECTS @@ -2950,68 +2950,68 @@ void* uniffi_iota_sdk_ffi_fn_clone_typetag(void* ptr, RustCallStatus *out_status void uniffi_iota_sdk_ffi_fn_free_typetag(void* ptr, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_ADDRESS -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_ADDRESS -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_address(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_ADDRESS +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_ADDRESS +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_address(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_BOOL -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_BOOL -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_bool(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_BOOL +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_BOOL +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_bool(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_SIGNER -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_SIGNER -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_signer(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_SIGNER +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_SIGNER +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_signer(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_STRUCT_TAG -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_STRUCT_TAG -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_struct_tag(void* struct_tag, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_STRUCT +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_STRUCT +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_struct(void* struct_tag, RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U128 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U128 -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_u128(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U128 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U128 +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u128(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U16 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U16 -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_u16(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U16 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U16 +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u16(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U256 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U256 -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_u256(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U256 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U256 +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u256(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U32 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U32 -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_u32(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U32 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U32 +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u32(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U64 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U64 -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_u64(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U64 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U64 +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u64(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U8 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_U8 -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_u8(RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U8 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_U8 +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u8(RustCallStatus *out_status ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_VECTOR -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_VECTOR -void* uniffi_iota_sdk_ffi_fn_constructor_typetag_vector(void* type_tag, RustCallStatus *out_status +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_VECTOR +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_CONSTRUCTOR_TYPETAG_NEW_VECTOR +void* uniffi_iota_sdk_ffi_fn_constructor_typetag_new_vector(void* type_tag, RustCallStatus *out_status ); #endif #ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_FN_METHOD_TYPETAG_AS_STRUCT_TAG @@ -5655,27 +5655,27 @@ uint16_t uniffi_iota_sdk_ffi_checksum_constructor_effectsauxiliarydatadigest_gen ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_CREATE -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_CREATE -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_CREATE +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_CREATE +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_EXPIRE -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_AUTHENTICATOR_STATE_EXPIRE -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_EXPIRE +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_EXPIRE +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH_V2 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_CHANGE_EPOCH_V2 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH_V2 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_ENDOFEPOCHTRANSACTIONKIND_NEW_CHANGE_EPOCH_V2 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2(void ); #endif @@ -5733,27 +5733,27 @@ uint16_t uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservations_new_ ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_DEVNET -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_DEVNET -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_LOCAL -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_LOCAL -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW_DEVNET +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW_DEVNET +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW_LOCAL +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW_LOCAL +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_TESTNET -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_TESTNET -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW_TESTNET +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_FAUCETCLIENT_NEW_TESTNET +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet(void ); #endif @@ -6141,39 +6141,39 @@ uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactioneventsdigest_genera ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_AUTHENTICATOR_STATE_UPDATE_V1 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_AUTHENTICATOR_STATE_UPDATE_V1 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_UPDATE_V1 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_AUTHENTICATOR_STATE_UPDATE_V1 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_CONSENSUS_COMMIT_PROLOGUE_V1 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_CONSENSUS_COMMIT_PROLOGUE_V1 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_CONSENSUS_COMMIT_PROLOGUE_V1 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_CONSENSUS_COMMIT_PROLOGUE_V1 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_END_OF_EPOCH -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_END_OF_EPOCH -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_END_OF_EPOCH +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_END_OF_EPOCH +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_GENESIS -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_GENESIS -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_GENESIS +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_GENESIS +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_PROGRAMMABLE_TRANSACTION -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_PROGRAMMABLE_TRANSACTION -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_PROGRAMMABLE_TRANSACTION +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_PROGRAMMABLE_TRANSACTION +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_RANDOMNESS_STATE_UPDATE -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_RANDOMNESS_STATE_UPDATE -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_RANDOMNESS_STATE_UPDATE +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TRANSACTIONKIND_NEW_RANDOMNESS_STATE_UPDATE +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update(void ); #endif @@ -6183,69 +6183,69 @@ uint16_t uniffi_iota_sdk_ffi_checksum_constructor_transferobjects_new(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_ADDRESS -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_ADDRESS -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_address(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_ADDRESS +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_ADDRESS +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_BOOL -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_BOOL -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_BOOL +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_BOOL +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_SIGNER -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_SIGNER -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_SIGNER +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_SIGNER +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_STRUCT_TAG -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_STRUCT_TAG -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_STRUCT +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_STRUCT +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U128 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U128 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U128 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U128 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U16 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U16 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U16 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U16 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U256 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U256 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U256 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U256 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U32 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U32 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U32 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U32 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U64 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U64 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U64 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U64 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U8 -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_U8 -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U8 +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_U8 +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8(void ); #endif -#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_VECTOR -#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_VECTOR -uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector(void +#ifndef UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_VECTOR +#define UNIFFI_FFIDEF_UNIFFI_IOTA_SDK_FFI_CHECKSUM_CONSTRUCTOR_TYPETAG_NEW_VECTOR +uint16_t uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector(void ); #endif diff --git a/bindings/kotlin/lib/iota_sdk/iota_sdk_ffi.kt b/bindings/kotlin/lib/iota_sdk/iota_sdk_ffi.kt index 131d44207..3f3632948 100644 --- a/bindings/kotlin/lib/iota_sdk/iota_sdk_ffi.kt +++ b/bindings/kotlin/lib/iota_sdk/iota_sdk_ffi.kt @@ -2428,13 +2428,13 @@ fun uniffi_iota_sdk_ffi_checksum_constructor_effectsauxiliarydatadigest_from_byt ): Short fun uniffi_iota_sdk_ffi_checksum_constructor_effectsauxiliarydatadigest_generate( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create( +fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire( +fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch( +fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2( +fun uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2( ): Short fun uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservation_new( ): Short @@ -2454,13 +2454,13 @@ fun uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservationkey_new_upg ): Short fun uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservations_new_v1( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet( +fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local( +fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new( +fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet( +fun uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet( ): Short fun uniffi_iota_sdk_ffi_checksum_constructor_genesisobject_new( ): Short @@ -2590,41 +2590,41 @@ fun uniffi_iota_sdk_ffi_checksum_constructor_transactioneventsdigest_from_bytes( ): Short fun uniffi_iota_sdk_ffi_checksum_constructor_transactioneventsdigest_generate( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1( +fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1( +fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch( +fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis( +fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction( +fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update( +fun uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update( ): Short fun uniffi_iota_sdk_ffi_checksum_constructor_transferobjects_new( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_address( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8( ): Short -fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector( +fun uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector( ): Short fun uniffi_iota_sdk_ffi_checksum_constructor_upgrade_new( ): Short @@ -2997,13 +2997,13 @@ fun uniffi_iota_sdk_ffi_fn_clone_endofepochtransactionkind(`ptr`: Pointer,uniffi ): Pointer fun uniffi_iota_sdk_ffi_fn_free_endofepochtransactionkind(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Unit -fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_create(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_create(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_expire(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_expire(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch_v2(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch_v2(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer fun uniffi_iota_sdk_ffi_fn_clone_epoch(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer @@ -3047,13 +3047,13 @@ fun uniffi_iota_sdk_ffi_fn_clone_faucetclient(`ptr`: Pointer,uniffi_out_err: Uni ): Pointer fun uniffi_iota_sdk_ffi_fn_free_faucetclient(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Unit -fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_devnet(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new(`faucetUrl`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_local(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_devnet(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new(`faucetUrl`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_local(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_testnet(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_testnet(uniffi_out_err: UniffiRustCallStatus, ): Pointer fun uniffi_iota_sdk_ffi_fn_method_faucetclient_request(`ptr`: Pointer,`address`: Pointer, ): Long @@ -3681,17 +3681,17 @@ fun uniffi_iota_sdk_ffi_fn_clone_transactionkind(`ptr`: Pointer,uniffi_out_err: ): Pointer fun uniffi_iota_sdk_ffi_fn_free_transactionkind(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Unit -fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_authenticator_state_update_v1(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_authenticator_state_update_v1(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_consensus_commit_prologue_v1(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_consensus_commit_prologue_v1(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_end_of_epoch(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_end_of_epoch(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_genesis(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_genesis(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_programmable_transaction(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_programmable_transaction(`tx`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_randomness_state_update(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_randomness_state_update(`tx`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus, ): Pointer fun uniffi_iota_sdk_ffi_fn_clone_transferobjects(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer @@ -3707,27 +3707,27 @@ fun uniffi_iota_sdk_ffi_fn_clone_typetag(`ptr`: Pointer,uniffi_out_err: UniffiRu ): Pointer fun uniffi_iota_sdk_ffi_fn_free_typetag(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Unit -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_address(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_address(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_bool(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_bool(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_signer(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_signer(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_struct_tag(`structTag`: Pointer,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_struct(`structTag`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_u128(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u128(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_u16(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u16(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_u256(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u256(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_u32(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u32(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_u64(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u64(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_u8(uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u8(uniffi_out_err: UniffiRustCallStatus, ): Pointer -fun uniffi_iota_sdk_ffi_fn_constructor_typetag_vector(`typeTag`: Pointer,uniffi_out_err: UniffiRustCallStatus, +fun uniffi_iota_sdk_ffi_fn_constructor_typetag_new_vector(`typeTag`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer fun uniffi_iota_sdk_ffi_fn_method_typetag_as_struct_tag(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus, ): Pointer @@ -4998,16 +4998,16 @@ private fun uniffiCheckApiChecksums(lib: IntegrityCheckingUniffiLib) { if (lib.uniffi_iota_sdk_ffi_checksum_constructor_effectsauxiliarydatadigest_generate() != 28926.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create() != 18946.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create() != 42248.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire() != 31328.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire() != 58811.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch() != 16640.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch() != 56235.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2() != 17262.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2() != 13653.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } if (lib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservation_new() != 22119.toShort()) { @@ -5037,16 +5037,16 @@ private fun uniffiCheckApiChecksums(lib: IntegrityCheckingUniffiLib) { if (lib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservations_new_v1() != 19098.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet() != 37366.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new() != 13557.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local() != 55393.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet() != 60053.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new() != 13557.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local() != 12434.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet() != 16109.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet() != 14673.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } if (lib.uniffi_iota_sdk_ffi_checksum_constructor_genesisobject_new() != 35390.toShort()) { @@ -5241,58 +5241,58 @@ private fun uniffiCheckApiChecksums(lib: IntegrityCheckingUniffiLib) { if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactioneventsdigest_generate() != 18224.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1() != 14756.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1() != 29264.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1() != 50635.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1() != 27756.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch() != 65525.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch() != 44556.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis() != 65272.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis() != 45541.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction() != 51205.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction() != 9153.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update() != 16439.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update() != 37051.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } if (lib.uniffi_iota_sdk_ffi_checksum_constructor_transferobjects_new() != 22470.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_address() != 44901.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address() != 65087.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool() != 19366.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool() != 404.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer() != 12676.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer() != 49791.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag() != 53303.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct() != 40686.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128() != 41280.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128() != 24239.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16() != 13801.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16() != 14922.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256() != 13310.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256() != 41658.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32() != 9870.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32() != 59185.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64() != 59470.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64() != 29045.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8() != 9403.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8() != 55184.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector() != 46548.toShort()) { + if (lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector() != 2453.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } if (lib.uniffi_iota_sdk_ffi_checksum_constructor_upgrade_new() != 61663.toShort()) { @@ -13146,40 +13146,40 @@ open class EndOfEpochTransactionKind: Disposable, AutoCloseable, EndOfEpochTrans companion object { - fun `authenticatorStateCreate`(): EndOfEpochTransactionKind { + fun `newAuthenticatorStateCreate`(): EndOfEpochTransactionKind { return FfiConverterTypeEndOfEpochTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_create( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_create( _status) } ) } - fun `authenticatorStateExpire`(`tx`: AuthenticatorStateExpire): EndOfEpochTransactionKind { + fun `newAuthenticatorStateExpire`(`tx`: AuthenticatorStateExpire): EndOfEpochTransactionKind { return FfiConverterTypeEndOfEpochTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_expire( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_expire( FfiConverterTypeAuthenticatorStateExpire.lower(`tx`),_status) } ) } - fun `changeEpoch`(`tx`: ChangeEpoch): EndOfEpochTransactionKind { + fun `newChangeEpoch`(`tx`: ChangeEpoch): EndOfEpochTransactionKind { return FfiConverterTypeEndOfEpochTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch( FfiConverterTypeChangeEpoch.lower(`tx`),_status) } ) } - fun `changeEpochV2`(`tx`: ChangeEpochV2): EndOfEpochTransactionKind { + fun `newChangeEpochV2`(`tx`: ChangeEpochV2): EndOfEpochTransactionKind { return FfiConverterTypeEndOfEpochTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch_v2( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch_v2( FfiConverterTypeChangeEpochV2.lower(`tx`),_status) } ) @@ -14610,10 +14610,10 @@ open class FaucetClient: Disposable, AutoCloseable, FaucetClientInterface /** * Set to devnet faucet. - */ fun `devnet`(): FaucetClient { + */ fun `newDevnet`(): FaucetClient { return FfiConverterTypeFaucetClient.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_devnet( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_devnet( _status) } ) @@ -14623,10 +14623,10 @@ open class FaucetClient: Disposable, AutoCloseable, FaucetClientInterface /** * Set to local faucet. - */ fun `local`(): FaucetClient { + */ fun `newLocal`(): FaucetClient { return FfiConverterTypeFaucetClient.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_local( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_local( _status) } ) @@ -14636,10 +14636,10 @@ open class FaucetClient: Disposable, AutoCloseable, FaucetClientInterface /** * Set to testnet faucet. - */ fun `testnet`(): FaucetClient { + */ fun `newTestnet`(): FaucetClient { return FfiConverterTypeFaucetClient.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_testnet( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_testnet( _status) } ) @@ -28190,60 +28190,60 @@ open class TransactionKind: Disposable, AutoCloseable, TransactionKindInterface companion object { - fun `authenticatorStateUpdateV1`(`tx`: AuthenticatorStateUpdateV1): TransactionKind { + fun `newAuthenticatorStateUpdateV1`(`tx`: AuthenticatorStateUpdateV1): TransactionKind { return FfiConverterTypeTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_authenticator_state_update_v1( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_authenticator_state_update_v1( FfiConverterTypeAuthenticatorStateUpdateV1.lower(`tx`),_status) } ) } - fun `consensusCommitPrologueV1`(`tx`: ConsensusCommitPrologueV1): TransactionKind { + fun `newConsensusCommitPrologueV1`(`tx`: ConsensusCommitPrologueV1): TransactionKind { return FfiConverterTypeTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_consensus_commit_prologue_v1( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_consensus_commit_prologue_v1( FfiConverterTypeConsensusCommitPrologueV1.lower(`tx`),_status) } ) } - fun `endOfEpoch`(`tx`: List): TransactionKind { + fun `newEndOfEpoch`(`tx`: List): TransactionKind { return FfiConverterTypeTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_end_of_epoch( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_end_of_epoch( FfiConverterSequenceTypeEndOfEpochTransactionKind.lower(`tx`),_status) } ) } - fun `genesis`(`tx`: GenesisTransaction): TransactionKind { + fun `newGenesis`(`tx`: GenesisTransaction): TransactionKind { return FfiConverterTypeTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_genesis( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_genesis( FfiConverterTypeGenesisTransaction.lower(`tx`),_status) } ) } - fun `programmableTransaction`(`tx`: ProgrammableTransaction): TransactionKind { + fun `newProgrammableTransaction`(`tx`: ProgrammableTransaction): TransactionKind { return FfiConverterTypeTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_programmable_transaction( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_programmable_transaction( FfiConverterTypeProgrammableTransaction.lower(`tx`),_status) } ) } - fun `randomnessStateUpdate`(`tx`: RandomnessStateUpdate): TransactionKind { + fun `newRandomnessStateUpdate`(`tx`: RandomnessStateUpdate): TransactionKind { return FfiConverterTypeTransactionKind.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_randomness_state_update( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_randomness_state_update( FfiConverterTypeRandomnessStateUpdate.lower(`tx`),_status) } ) @@ -29040,110 +29040,110 @@ open class TypeTag: Disposable, AutoCloseable, TypeTagInterface companion object { - fun `address`(): TypeTag { + fun `newAddress`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_address( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_address( _status) } ) } - fun `bool`(): TypeTag { + fun `newBool`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_bool( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_bool( _status) } ) } - fun `signer`(): TypeTag { + fun `newSigner`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_signer( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_signer( _status) } ) } - fun `structTag`(`structTag`: StructTag): TypeTag { + fun `newStruct`(`structTag`: StructTag): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_struct_tag( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_struct( FfiConverterTypeStructTag.lower(`structTag`),_status) } ) } - fun `u128`(): TypeTag { + fun `newU128`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_u128( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u128( _status) } ) } - fun `u16`(): TypeTag { + fun `newU16`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_u16( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u16( _status) } ) } - fun `u256`(): TypeTag { + fun `newU256`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_u256( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u256( _status) } ) } - fun `u32`(): TypeTag { + fun `newU32`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_u32( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u32( _status) } ) } - fun `u64`(): TypeTag { + fun `newU64`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_u64( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u64( _status) } ) } - fun `u8`(): TypeTag { + fun `newU8`(): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_u8( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u8( _status) } ) } - fun `vector`(`typeTag`: TypeTag): TypeTag { + fun `newVector`(`typeTag`: TypeTag): TypeTag { return FfiConverterTypeTypeTag.lift( uniffiRustCall() { _status -> - UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_vector( + UniffiLib.INSTANCE.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_vector( FfiConverterTypeTypeTag.lower(`typeTag`),_status) } ) diff --git a/bindings/python/lib/iota_sdk_ffi.py b/bindings/python/lib/iota_sdk_ffi.py index 44938d3ca..bb27bc53a 100644 --- a/bindings/python/lib/iota_sdk_ffi.py +++ b/bindings/python/lib/iota_sdk_ffi.py @@ -1123,13 +1123,13 @@ def _uniffi_check_api_checksums(lib): raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") if lib.uniffi_iota_sdk_ffi_checksum_constructor_effectsauxiliarydatadigest_generate() != 28926: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create() != 18946: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create() != 42248: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire() != 31328: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire() != 58811: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch() != 16640: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch() != 56235: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2() != 17262: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2() != 13653: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") if lib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservation_new() != 22119: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") @@ -1149,13 +1149,13 @@ def _uniffi_check_api_checksums(lib): raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") if lib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservations_new_v1() != 19098: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet() != 37366: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new() != 13557: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local() != 55393: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet() != 60053: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new() != 13557: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local() != 12434: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet() != 16109: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet() != 14673: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") if lib.uniffi_iota_sdk_ffi_checksum_constructor_genesisobject_new() != 35390: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") @@ -1285,41 +1285,41 @@ def _uniffi_check_api_checksums(lib): raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactioneventsdigest_generate() != 18224: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1() != 14756: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1() != 29264: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1() != 50635: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1() != 27756: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch() != 65525: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch() != 44556: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis() != 65272: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis() != 45541: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction() != 51205: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction() != 9153: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update() != 16439: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update() != 37051: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") if lib.uniffi_iota_sdk_ffi_checksum_constructor_transferobjects_new() != 22470: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_address() != 44901: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address() != 65087: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool() != 19366: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool() != 404: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer() != 12676: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer() != 49791: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag() != 53303: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct() != 40686: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128() != 41280: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128() != 24239: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16() != 13801: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16() != 14922: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256() != 13310: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256() != 41658: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32() != 9870: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32() != 59185: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64() != 59470: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64() != 29045: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8() != 9403: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8() != 55184: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector() != 46548: + if lib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector() != 2453: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") if lib.uniffi_iota_sdk_ffi_checksum_constructor_upgrade_new() != 61663: raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project") @@ -2224,25 +2224,25 @@ class _UniffiForeignFutureStructVoid(ctypes.Structure): ctypes.POINTER(_UniffiRustCallStatus), ) _UniffiLib.uniffi_iota_sdk_ffi_fn_free_endofepochtransactionkind.restype = None -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_create.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_create.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_create.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_expire.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_create.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_expire.argtypes = ( _UniffiRustBuffer, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_expire.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_expire.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch_v2.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch_v2.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch_v2.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch_v2.restype = ctypes.c_void_p _UniffiLib.uniffi_iota_sdk_ffi_fn_clone_epoch.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), @@ -2346,23 +2346,23 @@ class _UniffiForeignFutureStructVoid(ctypes.Structure): ctypes.POINTER(_UniffiRustCallStatus), ) _UniffiLib.uniffi_iota_sdk_ffi_fn_free_faucetclient.restype = None -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_devnet.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new.argtypes = ( + _UniffiRustBuffer, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_devnet.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_local.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_devnet.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_local.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new.argtypes = ( - _UniffiRustBuffer, +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_devnet.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_local.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_testnet.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_local.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_testnet.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_testnet.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_testnet.restype = ctypes.c_void_p _UniffiLib.uniffi_iota_sdk_ffi_fn_method_faucetclient_request.argtypes = ( ctypes.c_void_p, ctypes.c_void_p, @@ -3976,36 +3976,36 @@ class _UniffiForeignFutureStructVoid(ctypes.Structure): ctypes.POINTER(_UniffiRustCallStatus), ) _UniffiLib.uniffi_iota_sdk_ffi_fn_free_transactionkind.restype = None -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_authenticator_state_update_v1.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_authenticator_state_update_v1.argtypes = ( _UniffiRustBuffer, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_authenticator_state_update_v1.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_consensus_commit_prologue_v1.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_authenticator_state_update_v1.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_consensus_commit_prologue_v1.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_consensus_commit_prologue_v1.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_end_of_epoch.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_consensus_commit_prologue_v1.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_end_of_epoch.argtypes = ( _UniffiRustBuffer, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_end_of_epoch.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_genesis.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_end_of_epoch.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_genesis.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_genesis.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_programmable_transaction.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_genesis.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_programmable_transaction.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_programmable_transaction.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_randomness_state_update.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_programmable_transaction.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_randomness_state_update.argtypes = ( _UniffiRustBuffer, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_randomness_state_update.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_randomness_state_update.restype = ctypes.c_void_p _UniffiLib.uniffi_iota_sdk_ffi_fn_clone_transferobjects.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), @@ -4042,52 +4042,52 @@ class _UniffiForeignFutureStructVoid(ctypes.Structure): ctypes.POINTER(_UniffiRustCallStatus), ) _UniffiLib.uniffi_iota_sdk_ffi_fn_free_typetag.restype = None -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_address.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_address.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_address.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_bool.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_address.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_bool.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_bool.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_signer.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_bool.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_signer.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_signer.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_struct_tag.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_signer.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_struct.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_struct_tag.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u128.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_struct.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u128.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u128.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u16.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u128.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u16.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u16.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u256.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u16.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u256.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u256.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u32.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u256.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u32.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u32.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u64.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u32.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u64.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u64.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u8.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u64.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u8.argtypes = ( ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u8.restype = ctypes.c_void_p -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_vector.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u8.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_vector.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), ) -_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_vector.restype = ctypes.c_void_p +_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_vector.restype = ctypes.c_void_p _UniffiLib.uniffi_iota_sdk_ffi_fn_method_typetag_as_struct_tag.argtypes = ( ctypes.c_void_p, ctypes.POINTER(_UniffiRustCallStatus), @@ -5737,18 +5737,18 @@ class _UniffiForeignFutureStructVoid(ctypes.Structure): _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_effectsauxiliarydatadigest_generate.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_effectsauxiliarydatadigest_generate.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_create.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_create.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_authenticator_state_expire.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_authenticator_state_expire.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_change_epoch_v2.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_endofepochtransactionkind_new_change_epoch_v2.restype = ctypes.c_uint16 _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservation_new.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservation_new.restype = ctypes.c_uint16 @@ -5776,18 +5776,18 @@ class _UniffiForeignFutureStructVoid(ctypes.Structure): _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservations_new_v1.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_executiontimeobservations_new_v1.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet.argtypes = ( -) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_devnet.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local.argtypes = ( -) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_local.restype = ctypes.c_uint16 _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet.argtypes = ( +) +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_devnet.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local.argtypes = ( +) +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_local.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_testnet.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_faucetclient_new_testnet.restype = ctypes.c_uint16 _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_genesisobject_new.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_genesisobject_new.restype = ctypes.c_uint16 @@ -5980,60 +5980,60 @@ class _UniffiForeignFutureStructVoid(ctypes.Structure): _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactioneventsdigest_generate.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactioneventsdigest_generate.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_authenticator_state_update_v1.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_authenticator_state_update_v1.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_consensus_commit_prologue_v1.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_consensus_commit_prologue_v1.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_end_of_epoch.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_end_of_epoch.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_genesis.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_genesis.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_programmable_transaction.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_programmable_transaction.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_randomness_state_update.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transactionkind_new_randomness_state_update.restype = ctypes.c_uint16 _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transferobjects_new.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_transferobjects_new.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_address.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_address.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_address.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_bool.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_bool.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_signer.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_signer.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_struct_tag.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_struct.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u128.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u128.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u16.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u16.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u256.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u256.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u32.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u32.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u64.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u64.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_u8.restype = ctypes.c_uint16 -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector.argtypes = ( +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_u8.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector.argtypes = ( ) -_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_vector.restype = ctypes.c_uint16 +_UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_typetag_new_vector.restype = ctypes.c_uint16 _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_upgrade_new.argtypes = ( ) _UniffiLib.uniffi_iota_sdk_ffi_checksum_constructor_upgrade_new.restype = ctypes.c_uint16 @@ -20683,35 +20683,35 @@ def _make_instance_(cls, pointer): inst._pointer = pointer return inst @classmethod - def authenticator_state_create(cls, ): + def new_authenticator_state_create(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_create,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_create,) return cls._make_instance_(pointer) @classmethod - def authenticator_state_expire(cls, tx: "AuthenticatorStateExpire"): + def new_authenticator_state_expire(cls, tx: "AuthenticatorStateExpire"): _UniffiConverterTypeAuthenticatorStateExpire.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_authenticator_state_expire, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_authenticator_state_expire, _UniffiConverterTypeAuthenticatorStateExpire.lower(tx)) return cls._make_instance_(pointer) @classmethod - def change_epoch(cls, tx: "ChangeEpoch"): + def new_change_epoch(cls, tx: "ChangeEpoch"): _UniffiConverterTypeChangeEpoch.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch, _UniffiConverterTypeChangeEpoch.lower(tx)) return cls._make_instance_(pointer) @classmethod - def change_epoch_v2(cls, tx: "ChangeEpochV2"): + def new_change_epoch_v2(cls, tx: "ChangeEpochV2"): _UniffiConverterTypeChangeEpochV2.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_change_epoch_v2, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_endofepochtransactionkind_new_change_epoch_v2, _UniffiConverterTypeChangeEpochV2.lower(tx)) return cls._make_instance_(pointer) @@ -21198,33 +21198,33 @@ def _make_instance_(cls, pointer): inst._pointer = pointer return inst @classmethod - def devnet(cls, ): + def new_devnet(cls, ): """ Set to devnet faucet. """ # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_devnet,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_devnet,) return cls._make_instance_(pointer) @classmethod - def local(cls, ): + def new_local(cls, ): """ Set to local faucet. """ # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_local,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_local,) return cls._make_instance_(pointer) @classmethod - def testnet(cls, ): + def new_testnet(cls, ): """ Set to testnet faucet. """ # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_testnet,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_faucetclient_new_testnet,) return cls._make_instance_(pointer) @@ -28402,56 +28402,56 @@ def _make_instance_(cls, pointer): inst._pointer = pointer return inst @classmethod - def authenticator_state_update_v1(cls, tx: "AuthenticatorStateUpdateV1"): + def new_authenticator_state_update_v1(cls, tx: "AuthenticatorStateUpdateV1"): _UniffiConverterTypeAuthenticatorStateUpdateV1.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_authenticator_state_update_v1, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_authenticator_state_update_v1, _UniffiConverterTypeAuthenticatorStateUpdateV1.lower(tx)) return cls._make_instance_(pointer) @classmethod - def consensus_commit_prologue_v1(cls, tx: "ConsensusCommitPrologueV1"): + def new_consensus_commit_prologue_v1(cls, tx: "ConsensusCommitPrologueV1"): _UniffiConverterTypeConsensusCommitPrologueV1.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_consensus_commit_prologue_v1, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_consensus_commit_prologue_v1, _UniffiConverterTypeConsensusCommitPrologueV1.lower(tx)) return cls._make_instance_(pointer) @classmethod - def end_of_epoch(cls, tx: "typing.List[EndOfEpochTransactionKind]"): + def new_end_of_epoch(cls, tx: "typing.List[EndOfEpochTransactionKind]"): _UniffiConverterSequenceTypeEndOfEpochTransactionKind.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_end_of_epoch, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_end_of_epoch, _UniffiConverterSequenceTypeEndOfEpochTransactionKind.lower(tx)) return cls._make_instance_(pointer) @classmethod - def genesis(cls, tx: "GenesisTransaction"): + def new_genesis(cls, tx: "GenesisTransaction"): _UniffiConverterTypeGenesisTransaction.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_genesis, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_genesis, _UniffiConverterTypeGenesisTransaction.lower(tx)) return cls._make_instance_(pointer) @classmethod - def programmable_transaction(cls, tx: "ProgrammableTransaction"): + def new_programmable_transaction(cls, tx: "ProgrammableTransaction"): _UniffiConverterTypeProgrammableTransaction.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_programmable_transaction, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_programmable_transaction, _UniffiConverterTypeProgrammableTransaction.lower(tx)) return cls._make_instance_(pointer) @classmethod - def randomness_state_update(cls, tx: "RandomnessStateUpdate"): + def new_randomness_state_update(cls, tx: "RandomnessStateUpdate"): _UniffiConverterTypeRandomnessStateUpdate.check_lower(tx) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_randomness_state_update, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_transactionkind_new_randomness_state_update, _UniffiConverterTypeRandomnessStateUpdate.lower(tx)) return cls._make_instance_(pointer) @@ -28731,74 +28731,74 @@ def _make_instance_(cls, pointer): inst._pointer = pointer return inst @classmethod - def address(cls, ): + def new_address(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_address,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_address,) return cls._make_instance_(pointer) @classmethod - def bool(cls, ): + def new_bool(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_bool,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_bool,) return cls._make_instance_(pointer) @classmethod - def signer(cls, ): + def new_signer(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_signer,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_signer,) return cls._make_instance_(pointer) @classmethod - def struct_tag(cls, struct_tag: "StructTag"): + def new_struct(cls, struct_tag: "StructTag"): _UniffiConverterTypeStructTag.check_lower(struct_tag) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_struct_tag, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_struct, _UniffiConverterTypeStructTag.lower(struct_tag)) return cls._make_instance_(pointer) @classmethod - def u128(cls, ): + def new_u128(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u128,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u128,) return cls._make_instance_(pointer) @classmethod - def u16(cls, ): + def new_u16(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u16,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u16,) return cls._make_instance_(pointer) @classmethod - def u256(cls, ): + def new_u256(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u256,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u256,) return cls._make_instance_(pointer) @classmethod - def u32(cls, ): + def new_u32(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u32,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u32,) return cls._make_instance_(pointer) @classmethod - def u64(cls, ): + def new_u64(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u64,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u64,) return cls._make_instance_(pointer) @classmethod - def u8(cls, ): + def new_u8(cls, ): # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_u8,) + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_u8,) return cls._make_instance_(pointer) @classmethod - def vector(cls, type_tag: "TypeTag"): + def new_vector(cls, type_tag: "TypeTag"): _UniffiConverterTypeTypeTag.check_lower(type_tag) # Call the (fallible) function before creating any half-baked object instances. - pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_vector, + pointer = _uniffi_rust_call(_UniffiLib.uniffi_iota_sdk_ffi_fn_constructor_typetag_new_vector, _UniffiConverterTypeTypeTag.lower(type_tag)) return cls._make_instance_(pointer) diff --git a/bindings/python/test.py b/bindings/python/test.py index 11d60bbf5..edff1c512 100644 --- a/bindings/python/test.py +++ b/bindings/python/test.py @@ -68,7 +68,7 @@ async def main(): ) move_struct = MoveStruct( - struct_type=StructTag.coin(TypeTag.vector(TypeTag.u8())), + struct_type=StructTag.coin(TypeTag.new_vector(TypeTag.new_u8())), version=1, contents=bytes(), ) diff --git a/crates/iota-sdk-ffi/src/faucet.rs b/crates/iota-sdk-ffi/src/faucet.rs index cab469927..449f74ff8 100644 --- a/crates/iota-sdk-ffi/src/faucet.rs +++ b/crates/iota-sdk-ffi/src/faucet.rs @@ -27,19 +27,19 @@ impl FaucetClient { /// Set to local faucet. #[uniffi::constructor] - pub fn local() -> Self { + pub fn new_local() -> Self { Self(iota_graphql_client::faucet::FaucetClient::local()) } /// Set to devnet faucet. #[uniffi::constructor] - pub fn devnet() -> Self { + pub fn new_devnet() -> Self { Self(iota_graphql_client::faucet::FaucetClient::devnet()) } /// Set to testnet faucet. #[uniffi::constructor] - pub fn testnet() -> Self { + pub fn new_testnet() -> Self { Self(iota_graphql_client::faucet::FaucetClient::testnet()) } diff --git a/crates/iota-sdk-ffi/src/types/transaction/mod.rs b/crates/iota-sdk-ffi/src/types/transaction/mod.rs index 1bc38375f..88b808372 100644 --- a/crates/iota-sdk-ffi/src/types/transaction/mod.rs +++ b/crates/iota-sdk-ffi/src/types/transaction/mod.rs @@ -124,40 +124,40 @@ pub struct TransactionKind(pub iota_types::TransactionKind); #[uniffi::export] impl TransactionKind { #[uniffi::constructor] - pub fn programmable_transaction(tx: &ProgrammableTransaction) -> Self { + pub fn new_programmable_transaction(tx: &ProgrammableTransaction) -> Self { Self(iota_types::TransactionKind::ProgrammableTransaction( tx.0.clone(), )) } #[uniffi::constructor] - pub fn genesis(tx: &GenesisTransaction) -> Self { + pub fn new_genesis(tx: &GenesisTransaction) -> Self { Self(iota_types::TransactionKind::Genesis(tx.0.clone())) } #[uniffi::constructor] - pub fn consensus_commit_prologue_v1(tx: &ConsensusCommitPrologueV1) -> Self { + pub fn new_consensus_commit_prologue_v1(tx: &ConsensusCommitPrologueV1) -> Self { Self(iota_types::TransactionKind::ConsensusCommitPrologueV1( tx.0.clone(), )) } #[uniffi::constructor] - pub fn authenticator_state_update_v1(tx: &AuthenticatorStateUpdateV1) -> Self { + pub fn new_authenticator_state_update_v1(tx: &AuthenticatorStateUpdateV1) -> Self { Self(iota_types::TransactionKind::AuthenticatorStateUpdateV1( tx.clone(), )) } #[uniffi::constructor] - pub fn end_of_epoch(tx: Vec>) -> Self { + pub fn new_end_of_epoch(tx: Vec>) -> Self { Self(iota_types::TransactionKind::EndOfEpoch( tx.into_iter().map(|tx| tx.0.clone()).collect(), )) } #[uniffi::constructor] - pub fn randomness_state_update(tx: &RandomnessStateUpdate) -> Self { + pub fn new_randomness_state_update(tx: &RandomnessStateUpdate) -> Self { Self(iota_types::TransactionKind::RandomnessStateUpdate( tx.clone(), )) @@ -1368,26 +1368,26 @@ pub struct EndOfEpochTransactionKind(pub iota_types::EndOfEpochTransactionKind); #[uniffi::export] impl EndOfEpochTransactionKind { #[uniffi::constructor] - pub fn change_epoch(tx: &ChangeEpoch) -> Self { + pub fn new_change_epoch(tx: &ChangeEpoch) -> Self { Self(iota_types::EndOfEpochTransactionKind::ChangeEpoch( tx.0.clone(), )) } #[uniffi::constructor] - pub fn change_epoch_v2(tx: &ChangeEpochV2) -> Self { + pub fn new_change_epoch_v2(tx: &ChangeEpochV2) -> Self { Self(iota_types::EndOfEpochTransactionKind::ChangeEpochV2( tx.0.clone(), )) } #[uniffi::constructor] - pub fn authenticator_state_create() -> Self { + pub fn new_authenticator_state_create() -> Self { Self(iota_types::EndOfEpochTransactionKind::AuthenticatorStateCreate) } #[uniffi::constructor] - pub fn authenticator_state_expire(tx: &AuthenticatorStateExpire) -> Self { + pub fn new_authenticator_state_expire(tx: &AuthenticatorStateExpire) -> Self { Self(iota_types::EndOfEpochTransactionKind::AuthenticatorStateExpire(tx.clone())) } } diff --git a/crates/iota-sdk-ffi/src/types/type_tag.rs b/crates/iota-sdk-ffi/src/types/type_tag.rs index 9a154a4ce..39059999b 100644 --- a/crates/iota-sdk-ffi/src/types/type_tag.rs +++ b/crates/iota-sdk-ffi/src/types/type_tag.rs @@ -125,57 +125,57 @@ impl TypeTag { } #[uniffi::constructor] - pub fn u8() -> Self { + pub fn new_u8() -> Self { Self(iota_types::TypeTag::U8) } #[uniffi::constructor] - pub fn u16() -> Self { + pub fn new_u16() -> Self { Self(iota_types::TypeTag::U16) } #[uniffi::constructor] - pub fn u32() -> Self { + pub fn new_u32() -> Self { Self(iota_types::TypeTag::U32) } #[uniffi::constructor] - pub fn u64() -> Self { + pub fn new_u64() -> Self { Self(iota_types::TypeTag::U64) } #[uniffi::constructor] - pub fn u128() -> Self { + pub fn new_u128() -> Self { Self(iota_types::TypeTag::U128) } #[uniffi::constructor] - pub fn u256() -> Self { + pub fn new_u256() -> Self { Self(iota_types::TypeTag::U256) } #[uniffi::constructor] - pub fn bool() -> Self { + pub fn new_bool() -> Self { Self(iota_types::TypeTag::Bool) } #[uniffi::constructor] - pub fn address() -> Self { + pub fn new_address() -> Self { Self(iota_types::TypeTag::Address) } #[uniffi::constructor] - pub fn signer() -> Self { + pub fn new_signer() -> Self { Self(iota_types::TypeTag::Signer) } #[uniffi::constructor] - pub fn vector(type_tag: &TypeTag) -> Self { + pub fn new_vector(type_tag: &TypeTag) -> Self { Self(iota_types::TypeTag::Vector(Box::new(type_tag.0.clone()))) } #[uniffi::constructor] - pub fn struct_tag(struct_tag: &StructTag) -> Self { + pub fn new_struct(struct_tag: &StructTag) -> Self { Self(iota_types::TypeTag::Struct(Box::new(struct_tag.0.clone()))) } }