66import type { BinaryReadOptions , FieldList , JsonReadOptions , JsonValue , PartialMessage , PlainMessage } from "@bufbuild/protobuf" ;
77import { Message as Message$1 , proto3 , Timestamp } from "@bufbuild/protobuf" ;
88import { ClientPong , Domain , IntentId , ServerPing , Signature , SolanaAccountId } from "../../common/v1/model_pb" ;
9- import { AdditionalFeePayment , AirdropType , ExchangeData , ExchangeDataWithoutRate , Metadata } from "../../transaction/v2/transaction_service_pb" ;
9+ import { AdditionalFeePayment , ExchangeData , ExchangeDataWithoutRate , Metadata } from "../../transaction/v2/transaction_service_pb" ;
1010
1111/**
1212 * @generated from message code.messaging.v1.OpenMessageStreamRequest
@@ -578,7 +578,8 @@ export class MessageId extends Message$1<MessageId> {
578578 */
579579export class RequestToGrabBill extends Message$1 < RequestToGrabBill > {
580580 /**
581- * Requestor is the Kin token account on Solana to which a payment should be sent.
581+ * Requestor is the virtual core mint token account on the VM to which a
582+ * payment should be sent.
582583 *
583584 * @generated from field: code.common.v1.SolanaAccountId requestor_account = 1;
584585 */
@@ -622,7 +623,8 @@ export class RequestToGrabBill extends Message$1<RequestToGrabBill> {
622623 */
623624export class RequestToReceiveBill extends Message$1 < RequestToReceiveBill > {
624625 /**
625- * Requestor is the Kin token account on Solana to which a payment should be sent.
626+ * Requestor is the virtual core mint token account on the VM to which a
627+ * payment should be sent.
626628 *
627629 * @generated from field: code.common.v1.SolanaAccountId requestor_account = 1;
628630 */
@@ -635,22 +637,22 @@ export class RequestToReceiveBill extends Message$1<RequestToReceiveBill> {
635637 */
636638 exchangeData : {
637639 /**
638- * An exact amount of Kin . Payment is guaranteed to transfer the specified
640+ * An exact amount of core mint tokens . Payment is guaranteed to transfer the specified
639641 * quarks in the requested currency and exchange rate.
640642 *
641- * Only supports Kin . Use exchange_data.partial for fiat amounts.
643+ * Only supports the core mint account . Use exchange_data.partial for fiat amounts.
642644 *
643645 * @generated from field: code.transaction.v2.ExchangeData exact = 2;
644646 */
645647 value : ExchangeData ;
646648 case : "exact" ;
647649 } | {
648650 /**
649- * Fiat amount request. The amount of Kin is determined at time of payment
650- * with a recent exchange rate provided by the paying client and validatd
651- * by server.
651+ * Fiat amount request. The amount of core mint tokens are determined at
652+ * time of payment with a recent exchange rate provided by the paying client
653+ * and validated by server.
652654 *
653- * Only supports fiat amounts. Use exchange_data.exact for Kin .
655+ * Only supports fiat amounts. Use exchange_data.exact for the core mint account .
654656 *
655657 * @generated from field: code.transaction.v2.ExchangeDataWithoutRate partial = 3;
656658 */
@@ -909,65 +911,6 @@ export class WebhookCalled extends Message$1<WebhookCalled> {
909911 }
910912}
911913
912- /**
913- * Client has received an aidrop from server
914- *
915- * This message type is only initiated by server.
916- *
917- * @generated from message code.messaging.v1.AirdropReceived
918- */
919- export class AirdropReceived extends Message$1 < AirdropReceived > {
920- /**
921- * The type of airdrop received
922- *
923- * @generated from field: code.transaction.v2.AirdropType airdrop_type = 1;
924- */
925- airdropType = AirdropType . UNKNOWN ;
926-
927- /**
928- * Exchange data relating to the amount of Kin and fiat value of the airdrop
929- *
930- * @generated from field: code.transaction.v2.ExchangeData exchange_data = 2;
931- */
932- exchangeData ?: ExchangeData ;
933-
934- /**
935- * Time the airdrop was received
936- *
937- * @generated from field: google.protobuf.Timestamp timestamp = 3;
938- */
939- timestamp ?: Timestamp ;
940-
941- constructor ( data ?: PartialMessage < AirdropReceived > ) {
942- super ( ) ;
943- proto3 . util . initPartial ( data , this ) ;
944- }
945-
946- static readonly runtime : typeof proto3 = proto3 ;
947- static readonly typeName = "code.messaging.v1.AirdropReceived" ;
948- static readonly fields : FieldList = proto3 . util . newFieldList ( ( ) => [
949- { no : 1 , name : "airdrop_type" , kind : "enum" , T : proto3 . getEnumType ( AirdropType ) } ,
950- { no : 2 , name : "exchange_data" , kind : "message" , T : ExchangeData } ,
951- { no : 3 , name : "timestamp" , kind : "message" , T : Timestamp } ,
952- ] ) ;
953-
954- static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : AirdropReceived {
955- return new AirdropReceived ( ) . fromBinary ( bytes , options ) ;
956- }
957-
958- static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : AirdropReceived {
959- return new AirdropReceived ( ) . fromJson ( jsonValue , options ) ;
960- }
961-
962- static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : AirdropReceived {
963- return new AirdropReceived ( ) . fromJsonString ( jsonString , options ) ;
964- }
965-
966- static equals ( a : AirdropReceived | PlainMessage < AirdropReceived > | undefined , b : AirdropReceived | PlainMessage < AirdropReceived > | undefined ) : boolean {
967- return proto3 . util . equals ( AirdropReceived , a , b ) ;
968- }
969- }
970-
971914/**
972915 * @generated from message code.messaging.v1.Message
973916 */
@@ -1034,12 +977,6 @@ export class Message extends Message$1<Message> {
1034977 */
1035978 value : WebhookCalled ;
1036979 case : "webhookCalled" ;
1037- } | {
1038- /**
1039- * @generated from field: code.messaging.v1.AirdropReceived airdrop_received = 4;
1040- */
1041- value : AirdropReceived ;
1042- case : "airdropReceived" ;
1043980 } | { case : undefined ; value ?: undefined } = { case : undefined } ;
1044981
1045982 constructor ( data ?: PartialMessage < Message > ) {
@@ -1058,7 +995,6 @@ export class Message extends Message$1<Message> {
1058995 { no : 7 , name : "client_rejected_payment" , kind : "message" , T : ClientRejectedPayment , oneof : "kind" } ,
1059996 { no : 8 , name : "intent_submitted" , kind : "message" , T : IntentSubmitted , oneof : "kind" } ,
1060997 { no : 9 , name : "webhook_called" , kind : "message" , T : WebhookCalled , oneof : "kind" } ,
1061- { no : 4 , name : "airdrop_received" , kind : "message" , T : AirdropReceived , oneof : "kind" } ,
1062998 ] ) ;
1063999
10641000 static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : Message {
0 commit comments