Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 43 additions & 43 deletions bindings/kotlin/lib/iota_sdk/iota_sdk_ffi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42768,11 +42768,11 @@ data class DynamicFieldOutput (
/**
* The dynamic field value typename and bcs
*/
var `value`: DynamicFieldValue?,
var `value`: DynamicFieldValue? = null,
/**
* The json representation of the dynamic field value object
*/
var `valueAsJson`: Value?
var `valueAsJson`: Value? = null
) : Disposable {

@Suppress("UNNECESSARY_SAFE_CALL") // codegen is much simpler if we unconditionally emit safe calls here
Expand Down Expand Up @@ -43841,7 +43841,7 @@ public object FfiConverterTypeMoveEnumConnection: FfiConverterRustBuffer<MoveEnu


data class MoveEnumVariant (
var `fields`: List<MoveField>?,
var `fields`: List<MoveField>? = null,
var `name`: kotlin.String
) {

Expand Down Expand Up @@ -43874,7 +43874,7 @@ public object FfiConverterTypeMoveEnumVariant: FfiConverterRustBuffer<MoveEnumVa

data class MoveField (
var `name`: kotlin.String,
var `type`: OpenMoveType?
var `type`: OpenMoveType? = null
) {

companion object
Expand Down Expand Up @@ -44044,7 +44044,7 @@ data class MoveLocation (
/**
* The name of the function if available
*/
var `functionName`: kotlin.String?
var `functionName`: kotlin.String? = null
) : Disposable {

@Suppress("UNNECESSARY_SAFE_CALL") // codegen is much simpler if we unconditionally emit safe calls here
Expand Down Expand Up @@ -44314,7 +44314,7 @@ public object FfiConverterTypeMovePackagePage: FfiConverterRustBuffer<MovePackag

data class MovePackageQuery (
var `address`: Address,
var `bcs`: Base64?
var `bcs`: Base64? = null
) : Disposable {

@Suppress("UNNECESSARY_SAFE_CALL") // codegen is much simpler if we unconditionally emit safe calls here
Expand Down Expand Up @@ -44463,10 +44463,10 @@ public object FfiConverterTypeMoveStructConnection: FfiConverterRustBuffer<MoveS


data class MoveStructQuery (
var `abilities`: List<MoveAbility>?,
var `abilities`: List<MoveAbility>? = null,
var `name`: kotlin.String,
var `fields`: List<MoveField>?,
var `typeParameters`: List<MoveStructTypeParameter>?
var `fields`: List<MoveField>? = null,
var `typeParameters`: List<MoveStructTypeParameter>? = null
) {

companion object
Expand Down Expand Up @@ -44535,8 +44535,8 @@ public object FfiConverterTypeMoveStructTypeParameter: FfiConverterRustBuffer<Mo


data class ObjectFilter (
var `typeTag`: kotlin.String?,
var `owner`: Address?,
var `typeTag`: kotlin.String? = null,
var `owner`: Address? = null,
var `objectIds`: List<ObjectId>?
) : Disposable {

Expand Down Expand Up @@ -45477,12 +45477,12 @@ data class TransactionEffectsV1 (
* vector. Having a dedicated field for convenient access.
* System transaction that don't require gas will leave this as None.
*/
var `gasObjectIndex`: kotlin.UInt?,
var `gasObjectIndex`: kotlin.UInt? = null,
/**
* The digest of the events emitted during execution,
* can be None if the transaction does not emit any event.
*/
var `eventsDigest`: Digest?,
var `eventsDigest`: Digest? = null,
/**
* The set of transaction digests this transaction depends on.
*/
Expand All @@ -45509,7 +45509,7 @@ data class TransactionEffectsV1 (
* to avoid bloating the effects with data that are not critical.
* It also provides more flexibility on the format and type of the data.
*/
var `auxiliaryDataDigest`: Digest?
var `auxiliaryDataDigest`: Digest? = null
) : Disposable {

@Suppress("UNNECESSARY_SAFE_CALL") // codegen is much simpler if we unconditionally emit safe calls here
Expand Down Expand Up @@ -45901,106 +45901,106 @@ data class Validator (
* The APY of this validator in basis points.
* To get the APY in percentage, divide by 100.
*/
var `apy`: kotlin.Int?,
var `apy`: kotlin.Int? = null,
/**
* The validator's address.
*/
var `address`: Address,
/**
* The fee charged by the validator for staking services.
*/
var `commissionRate`: kotlin.Int?,
var `commissionRate`: kotlin.Int? = null,
/**
* Validator's credentials.
*/
var `credentials`: ValidatorCredentials?,
var `credentials`: ValidatorCredentials? = null,
/**
* Validator's description.
*/
var `description`: kotlin.String?,
var `description`: kotlin.String? = null,
/**
* Number of exchange rates in the table.
*/
var `exchangeRatesSize`: kotlin.ULong?,
var `exchangeRatesSize`: kotlin.ULong? = null,
/**
* The reference gas price for this epoch.
*/
var `gasPrice`: kotlin.ULong?,
var `gasPrice`: kotlin.ULong? = null,
/**
* Validator's name.
*/
var `name`: kotlin.String?,
var `name`: kotlin.String? = null,
/**
* Validator's url containing their custom image.
*/
var `imageUrl`: kotlin.String?,
var `imageUrl`: kotlin.String? = null,
/**
* The proposed next epoch fee for the validator's staking services.
*/
var `nextEpochCommissionRate`: kotlin.Int?,
var `nextEpochCommissionRate`: kotlin.Int? = null,
/**
* Validator's credentials for the next epoch.
*/
var `nextEpochCredentials`: ValidatorCredentials?,
var `nextEpochCredentials`: ValidatorCredentials? = null,
/**
* The validator's gas price quote for the next epoch.
*/
var `nextEpochGasPrice`: kotlin.ULong?,
var `nextEpochGasPrice`: kotlin.ULong? = null,
/**
* The total number of IOTA tokens in this pool plus
* the pending stake amount for this epoch.
*/
var `nextEpochStake`: kotlin.ULong?,
var `nextEpochStake`: kotlin.ULong? = null,
/**
* The validator's current valid `Cap` object. Validators can delegate
* the operation ability to another address. The address holding this `Cap`
* object can then update the reference gas price and tallying rule on
* behalf of the validator.
*/
var `operationCap`: kotlin.ByteArray?,
var `operationCap`: kotlin.ByteArray? = null,
/**
* Pending pool token withdrawn during the current epoch, emptied at epoch
* boundaries.
*/
var `pendingPoolTokenWithdraw`: kotlin.ULong?,
var `pendingPoolTokenWithdraw`: kotlin.ULong? = null,
/**
* Pending stake amount for this epoch.
*/
var `pendingStake`: kotlin.ULong?,
var `pendingStake`: kotlin.ULong? = null,
/**
* Pending stake withdrawn during the current epoch, emptied at epoch
* boundaries.
*/
var `pendingTotalIotaWithdraw`: kotlin.ULong?,
var `pendingTotalIotaWithdraw`: kotlin.ULong? = null,
/**
* Total number of pool tokens issued by the pool.
*/
var `poolTokenBalance`: kotlin.ULong?,
var `poolTokenBalance`: kotlin.ULong? = null,
/**
* Validator's homepage URL.
*/
var `projectUrl`: kotlin.String?,
var `projectUrl`: kotlin.String? = null,
/**
* The epoch stake rewards will be added here at the end of each epoch.
*/
var `rewardsPool`: kotlin.ULong?,
var `rewardsPool`: kotlin.ULong? = null,
/**
* The epoch at which this pool became active.
*/
var `stakingPoolActivationEpoch`: kotlin.ULong?,
var `stakingPoolActivationEpoch`: kotlin.ULong? = null,
/**
* The ID of this validator's `0x3::staking_pool::StakingPool`.
*/
var `stakingPoolId`: ObjectId,
/**
* The total number of IOTA tokens in this pool.
*/
var `stakingPoolIotaBalance`: kotlin.ULong?,
var `stakingPoolIotaBalance`: kotlin.ULong? = null,
/**
* The voting power of this validator in basis points (e.g., 100 = 1%
* voting power).
*/
var `votingPower`: kotlin.Int?
var `votingPower`: kotlin.Int? = null
) : Disposable {

@Suppress("UNNECESSARY_SAFE_CALL") // codegen is much simpler if we unconditionally emit safe calls here
Expand Down Expand Up @@ -46278,13 +46278,13 @@ public object FfiConverterTypeValidatorConnection: FfiConverterRustBuffer<Valida
* The credentials related fields associated with a validator.
*/
data class ValidatorCredentials (
var `authorityPubKey`: Base64?,
var `networkPubKey`: Base64?,
var `protocolPubKey`: Base64?,
var `proofOfPossession`: Base64?,
var `netAddress`: kotlin.String?,
var `p2pAddress`: kotlin.String?,
var `primaryAddress`: kotlin.String?
var `authorityPubKey`: Base64? = null,
var `networkPubKey`: Base64? = null,
var `protocolPubKey`: Base64? = null,
var `proofOfPossession`: Base64? = null,
var `netAddress`: kotlin.String? = null,
var `p2pAddress`: kotlin.String? = null,
var `primaryAddress`: kotlin.String? = null
) {

companion object
Expand Down
Loading
Loading