@@ -912,55 +912,55 @@ export class VotingRoundAppClient {
912
912
/**
913
913
* Get the current value of the close_time key in global state
914
914
*/
915
- closeTime : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "closeTime " ) ) as bigint | undefined } ,
915
+ closeTime : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "close_time " ) ) as bigint | undefined } ,
916
916
/**
917
917
* Get the current value of the end_time key in global state
918
918
*/
919
- endTime : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "endTime " ) ) as bigint | undefined } ,
919
+ endTime : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "end_time " ) ) as bigint | undefined } ,
920
920
/**
921
921
* Get the current value of the is_bootstrapped key in global state
922
922
*/
923
- isBootstrapped : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "isBootstrapped " ) ) as bigint | undefined } ,
923
+ isBootstrapped : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "is_bootstrapped " ) ) as bigint | undefined } ,
924
924
/**
925
925
* Get the current value of the metadata_ipfs_cid key in global state
926
926
*/
927
- metadataIpfsCid : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "metadataIpfsCid " ) ) as Uint8Array | undefined ) } ,
927
+ metadataIpfsCid : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "metadata_ipfs_cid " ) ) as Uint8Array | undefined ) } ,
928
928
/**
929
929
* Get the current value of the nft_asset_id key in global state
930
930
*/
931
- nftAssetId : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "nftAssetId " ) ) as bigint | undefined } ,
931
+ nftAssetId : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "nft_asset_id " ) ) as bigint | undefined } ,
932
932
/**
933
933
* Get the current value of the nft_image_url key in global state
934
934
*/
935
- nftImageUrl : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "nftImageUrl " ) ) as Uint8Array | undefined ) } ,
935
+ nftImageUrl : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "nft_image_url " ) ) as Uint8Array | undefined ) } ,
936
936
/**
937
937
* Get the current value of the option_counts key in global state
938
938
*/
939
- optionCounts : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "optionCounts " ) ) as Uint8Array | undefined ) } ,
939
+ optionCounts : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "option_counts " ) ) as Uint8Array | undefined ) } ,
940
940
/**
941
941
* Get the current value of the quorum key in global state
942
942
*/
943
943
quorum : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "quorum" ) ) as bigint | undefined } ,
944
944
/**
945
945
* Get the current value of the snapshot_public_key key in global state
946
946
*/
947
- snapshotPublicKey : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "snapshotPublicKey " ) ) as Uint8Array | undefined ) } ,
947
+ snapshotPublicKey : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "snapshot_public_key " ) ) as Uint8Array | undefined ) } ,
948
948
/**
949
949
* Get the current value of the start_time key in global state
950
950
*/
951
- startTime : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "startTime " ) ) as bigint | undefined } ,
951
+ startTime : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "start_time " ) ) as bigint | undefined } ,
952
952
/**
953
953
* Get the current value of the total_options key in global state
954
954
*/
955
- totalOptions : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "totalOptions " ) ) as bigint | undefined } ,
955
+ totalOptions : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "total_options " ) ) as bigint | undefined } ,
956
956
/**
957
957
* Get the current value of the vote_id key in global state
958
958
*/
959
- voteId : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "voteId " ) ) as Uint8Array | undefined ) } ,
959
+ voteId : async ( ) : Promise < BinaryState > => { return new BinaryStateValue ( ( await this . appClient . state . global . getValue ( "vote_id " ) ) as Uint8Array | undefined ) } ,
960
960
/**
961
961
* Get the current value of the voter_count key in global state
962
962
*/
963
- voterCount : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "voterCount " ) ) as bigint | undefined } ,
963
+ voterCount : async ( ) : Promise < bigint | undefined > => { return ( await this . appClient . state . global . getValue ( "voter_count " ) ) as bigint | undefined } ,
964
964
} ,
965
965
}
966
966
0 commit comments