diff --git a/generated/json/vega/ERC20AssetLimitsUpdated.json b/generated/json/vega/ERC20AssetLimitsUpdated.json new file mode 100644 index 00000000..43e1d594 --- /dev/null +++ b/generated/json/vega/ERC20AssetLimitsUpdated.json @@ -0,0 +1,29 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ERC20AssetLimitsUpdated", + "definitions": { + "ERC20AssetLimitsUpdated": { + "properties": { + "vega_asset_id": { + "type": "string", + "description": "The Vega network internal identifier of the asset" + }, + "source_ethereum_address": { + "type": "string", + "description": "The Ethereum wallet that initiated the deposit" + }, + "lifetime_limits": { + "type": "string", + "description": "The updated lifetime limits" + }, + "withdraw_threshold": { + "type": "string", + "description": "The updated withdraw threshold" + } + }, + "additionalProperties": true, + "type": "object", + "title": "ERC 20 Asset Limits Updated" + } + } +} \ No newline at end of file diff --git a/generated/json/vega/ERC20Event.json b/generated/json/vega/ERC20Event.json index bc599e26..af3a0102 100644 --- a/generated/json/vega/ERC20Event.json +++ b/generated/json/vega/ERC20Event.json @@ -31,6 +31,11 @@ "$ref": "#/definitions/vega.ERC20Withdrawal", "additionalProperties": true, "description": "Withdraw ERC20 asset" + }, + "asset_limits_updated": { + "$ref": "#/definitions/vega.ERC20AssetLimitsUpdated", + "additionalProperties": true, + "description": "Update an ERC20 asset" } }, "additionalProperties": true, @@ -50,6 +55,29 @@ "title": "ERC 20 Asset Delist", "description": "An asset deny-listing for an ERC20 token" }, + "vega.ERC20AssetLimitsUpdated": { + "properties": { + "vega_asset_id": { + "type": "string", + "description": "The Vega network internal identifier of the asset" + }, + "source_ethereum_address": { + "type": "string", + "description": "The Ethereum wallet that initiated the deposit" + }, + "lifetime_limits": { + "type": "string", + "description": "The updated lifetime limits" + }, + "withdraw_threshold": { + "type": "string", + "description": "The updated withdraw threshold" + } + }, + "additionalProperties": true, + "type": "object", + "title": "ERC 20 Asset Limits Updated" + }, "vega.ERC20AssetList": { "properties": { "vega_asset_id": { diff --git a/generated/proto.json b/generated/proto.json index da326bd8..c1bc7151 100644 --- a/generated/proto.json +++ b/generated/proto.json @@ -505,6 +505,66 @@ } ] }, + { + "name": "ERC20AssetLimitsUpdated", + "longName": "ERC20AssetLimitsUpdated", + "fullName": "vega.ERC20AssetLimitsUpdated", + "description": "", + "hasExtensions": false, + "hasFields": true, + "hasOneofs": false, + "extensions": [], + "fields": [ + { + "name": "vega_asset_id", + "description": "The Vega network internal identifier of the asset", + "label": "", + "type": "string", + "longType": "string", + "fullType": "string", + "ismap": false, + "isoneof": false, + "oneofdecl": "", + "defaultValue": "" + }, + { + "name": "source_ethereum_address", + "description": "The Ethereum wallet that initiated the deposit", + "label": "", + "type": "string", + "longType": "string", + "fullType": "string", + "ismap": false, + "isoneof": false, + "oneofdecl": "", + "defaultValue": "" + }, + { + "name": "lifetime_limits", + "description": "The updated lifetime limits", + "label": "", + "type": "string", + "longType": "string", + "fullType": "string", + "ismap": false, + "isoneof": false, + "oneofdecl": "", + "defaultValue": "" + }, + { + "name": "withdraw_threshold", + "description": "The updated withdraw threshold", + "label": "", + "type": "string", + "longType": "string", + "fullType": "string", + "ismap": false, + "isoneof": false, + "oneofdecl": "", + "defaultValue": "" + } + ] + }, { "name": "ERC20AssetList", "longName": "ERC20AssetList", @@ -670,6 +730,18 @@ "isoneof": true, "oneofdecl": "action", "defaultValue": "" + }, + { + "name": "asset_limits_updated", + "description": "Update an ERC20 asset", + "label": "", + "type": "ERC20AssetLimitsUpdated", + "longType": "ERC20AssetLimitsUpdated", + "fullType": "vega.ERC20AssetLimitsUpdated", + "ismap": false, + "isoneof": true, + "oneofdecl": "action", + "defaultValue": "" } ] }, diff --git a/sources/vega/chain_events.proto b/sources/vega/chain_events.proto index bfde0050..847f2b6e 100644 --- a/sources/vega/chain_events.proto +++ b/sources/vega/chain_events.proto @@ -45,6 +45,17 @@ message ERC20AssetDelist { string vega_asset_id = 1; } +message ERC20AssetLimitsUpdated { + // The Vega network internal identifier of the asset + string vega_asset_id = 1; + // The Ethereum wallet that initiated the deposit + string source_ethereum_address = 2; + // The updated lifetime limits + string lifetime_limits = 3; + // The updated withdraw threshold + string withdraw_threshold = 4; +} + // An asset deposit for an ERC20 token message ERC20Deposit { // The vega network internal identifier of the asset @@ -83,6 +94,8 @@ message ERC20Event { ERC20Deposit deposit = 1003; // Withdraw ERC20 asset ERC20Withdrawal withdrawal = 1004; + // Update an ERC20 asset + ERC20AssetLimitsUpdated asset_limits_updated = 1005; } } diff --git a/vega/chain_events.pb.go b/vega/chain_events.pb.go index dac1819d..3a509218 100644 --- a/vega/chain_events.pb.go +++ b/vega/chain_events.pb.go @@ -335,6 +335,81 @@ func (x *ERC20AssetDelist) GetVegaAssetId() string { return "" } +type ERC20AssetLimitsUpdated struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Vega network internal identifier of the asset + VegaAssetId string `protobuf:"bytes,1,opt,name=vega_asset_id,json=vegaAssetId,proto3" json:"vega_asset_id,omitempty"` + // The Ethereum wallet that initiated the deposit + SourceEthereumAddress string `protobuf:"bytes,2,opt,name=source_ethereum_address,json=sourceEthereumAddress,proto3" json:"source_ethereum_address,omitempty"` + // The updated lifetime limits + LifetimeLimits string `protobuf:"bytes,3,opt,name=lifetime_limits,json=lifetimeLimits,proto3" json:"lifetime_limits,omitempty"` + // The updated withdraw threshold + WithdrawThreshold string `protobuf:"bytes,4,opt,name=withdraw_threshold,json=withdrawThreshold,proto3" json:"withdraw_threshold,omitempty"` +} + +func (x *ERC20AssetLimitsUpdated) Reset() { + *x = ERC20AssetLimitsUpdated{} + if protoimpl.UnsafeEnabled { + mi := &file_vega_chain_events_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ERC20AssetLimitsUpdated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ERC20AssetLimitsUpdated) ProtoMessage() {} + +func (x *ERC20AssetLimitsUpdated) ProtoReflect() protoreflect.Message { + mi := &file_vega_chain_events_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ERC20AssetLimitsUpdated.ProtoReflect.Descriptor instead. +func (*ERC20AssetLimitsUpdated) Descriptor() ([]byte, []int) { + return file_vega_chain_events_proto_rawDescGZIP(), []int{5} +} + +func (x *ERC20AssetLimitsUpdated) GetVegaAssetId() string { + if x != nil { + return x.VegaAssetId + } + return "" +} + +func (x *ERC20AssetLimitsUpdated) GetSourceEthereumAddress() string { + if x != nil { + return x.SourceEthereumAddress + } + return "" +} + +func (x *ERC20AssetLimitsUpdated) GetLifetimeLimits() string { + if x != nil { + return x.LifetimeLimits + } + return "" +} + +func (x *ERC20AssetLimitsUpdated) GetWithdrawThreshold() string { + if x != nil { + return x.WithdrawThreshold + } + return "" +} + // An asset deposit for an ERC20 token type ERC20Deposit struct { state protoimpl.MessageState @@ -354,7 +429,7 @@ type ERC20Deposit struct { func (x *ERC20Deposit) Reset() { *x = ERC20Deposit{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[5] + mi := &file_vega_chain_events_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -367,7 +442,7 @@ func (x *ERC20Deposit) String() string { func (*ERC20Deposit) ProtoMessage() {} func (x *ERC20Deposit) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[5] + mi := &file_vega_chain_events_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -380,7 +455,7 @@ func (x *ERC20Deposit) ProtoReflect() protoreflect.Message { // Deprecated: Use ERC20Deposit.ProtoReflect.Descriptor instead. func (*ERC20Deposit) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{5} + return file_vega_chain_events_proto_rawDescGZIP(), []int{6} } func (x *ERC20Deposit) GetVegaAssetId() string { @@ -428,7 +503,7 @@ type ERC20Withdrawal struct { func (x *ERC20Withdrawal) Reset() { *x = ERC20Withdrawal{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[6] + mi := &file_vega_chain_events_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -441,7 +516,7 @@ func (x *ERC20Withdrawal) String() string { func (*ERC20Withdrawal) ProtoMessage() {} func (x *ERC20Withdrawal) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[6] + mi := &file_vega_chain_events_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -454,7 +529,7 @@ func (x *ERC20Withdrawal) ProtoReflect() protoreflect.Message { // Deprecated: Use ERC20Withdrawal.ProtoReflect.Descriptor instead. func (*ERC20Withdrawal) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{6} + return file_vega_chain_events_proto_rawDescGZIP(), []int{7} } func (x *ERC20Withdrawal) GetVegaAssetId() string { @@ -495,13 +570,14 @@ type ERC20Event struct { // *ERC20Event_AssetDelist // *ERC20Event_Deposit // *ERC20Event_Withdrawal + // *ERC20Event_AssetLimitsUpdated Action isERC20Event_Action `protobuf_oneof:"action"` } func (x *ERC20Event) Reset() { *x = ERC20Event{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[7] + mi := &file_vega_chain_events_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -514,7 +590,7 @@ func (x *ERC20Event) String() string { func (*ERC20Event) ProtoMessage() {} func (x *ERC20Event) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[7] + mi := &file_vega_chain_events_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -527,7 +603,7 @@ func (x *ERC20Event) ProtoReflect() protoreflect.Message { // Deprecated: Use ERC20Event.ProtoReflect.Descriptor instead. func (*ERC20Event) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{7} + return file_vega_chain_events_proto_rawDescGZIP(), []int{8} } func (x *ERC20Event) GetIndex() uint64 { @@ -579,6 +655,13 @@ func (x *ERC20Event) GetWithdrawal() *ERC20Withdrawal { return nil } +func (x *ERC20Event) GetAssetLimitsUpdated() *ERC20AssetLimitsUpdated { + if x, ok := x.GetAction().(*ERC20Event_AssetLimitsUpdated); ok { + return x.AssetLimitsUpdated + } + return nil +} + type isERC20Event_Action interface { isERC20Event_Action() } @@ -603,6 +686,11 @@ type ERC20Event_Withdrawal struct { Withdrawal *ERC20Withdrawal `protobuf:"bytes,1004,opt,name=withdrawal,proto3,oneof"` } +type ERC20Event_AssetLimitsUpdated struct { + // Update an ERC20 asset + AssetLimitsUpdated *ERC20AssetLimitsUpdated `protobuf:"bytes,1005,opt,name=asset_limits_updated,json=assetLimitsUpdated,proto3,oneof"` +} + func (*ERC20Event_AssetList) isERC20Event_Action() {} func (*ERC20Event_AssetDelist) isERC20Event_Action() {} @@ -611,6 +699,8 @@ func (*ERC20Event_Deposit) isERC20Event_Action() {} func (*ERC20Event_Withdrawal) isERC20Event_Action() {} +func (*ERC20Event_AssetLimitsUpdated) isERC20Event_Action() {} + // A new signer added to the ERC20 bridge type ERC20SignerAdded struct { state protoimpl.MessageState @@ -630,7 +720,7 @@ type ERC20SignerAdded struct { func (x *ERC20SignerAdded) Reset() { *x = ERC20SignerAdded{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[8] + mi := &file_vega_chain_events_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -643,7 +733,7 @@ func (x *ERC20SignerAdded) String() string { func (*ERC20SignerAdded) ProtoMessage() {} func (x *ERC20SignerAdded) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[8] + mi := &file_vega_chain_events_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -656,7 +746,7 @@ func (x *ERC20SignerAdded) ProtoReflect() protoreflect.Message { // Deprecated: Use ERC20SignerAdded.ProtoReflect.Descriptor instead. func (*ERC20SignerAdded) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{8} + return file_vega_chain_events_proto_rawDescGZIP(), []int{9} } func (x *ERC20SignerAdded) GetNewSigner() string { @@ -699,7 +789,7 @@ type ERC20SignerRemoved struct { func (x *ERC20SignerRemoved) Reset() { *x = ERC20SignerRemoved{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[9] + mi := &file_vega_chain_events_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -712,7 +802,7 @@ func (x *ERC20SignerRemoved) String() string { func (*ERC20SignerRemoved) ProtoMessage() {} func (x *ERC20SignerRemoved) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[9] + mi := &file_vega_chain_events_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -725,7 +815,7 @@ func (x *ERC20SignerRemoved) ProtoReflect() protoreflect.Message { // Deprecated: Use ERC20SignerRemoved.ProtoReflect.Descriptor instead. func (*ERC20SignerRemoved) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{9} + return file_vega_chain_events_proto_rawDescGZIP(), []int{10} } func (x *ERC20SignerRemoved) GetOldSigner() string { @@ -768,7 +858,7 @@ type ERC20ThresholdSet struct { func (x *ERC20ThresholdSet) Reset() { *x = ERC20ThresholdSet{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[10] + mi := &file_vega_chain_events_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -781,7 +871,7 @@ func (x *ERC20ThresholdSet) String() string { func (*ERC20ThresholdSet) ProtoMessage() {} func (x *ERC20ThresholdSet) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[10] + mi := &file_vega_chain_events_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -794,7 +884,7 @@ func (x *ERC20ThresholdSet) ProtoReflect() protoreflect.Message { // Deprecated: Use ERC20ThresholdSet.ProtoReflect.Descriptor instead. func (*ERC20ThresholdSet) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{10} + return file_vega_chain_events_proto_rawDescGZIP(), []int{11} } func (x *ERC20ThresholdSet) GetNewThreshold() uint32 { @@ -840,7 +930,7 @@ type ERC20MultiSigEvent struct { func (x *ERC20MultiSigEvent) Reset() { *x = ERC20MultiSigEvent{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[11] + mi := &file_vega_chain_events_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -853,7 +943,7 @@ func (x *ERC20MultiSigEvent) String() string { func (*ERC20MultiSigEvent) ProtoMessage() {} func (x *ERC20MultiSigEvent) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[11] + mi := &file_vega_chain_events_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -866,7 +956,7 @@ func (x *ERC20MultiSigEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use ERC20MultiSigEvent.ProtoReflect.Descriptor instead. func (*ERC20MultiSigEvent) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{11} + return file_vega_chain_events_proto_rawDescGZIP(), []int{12} } func (x *ERC20MultiSigEvent) GetIndex() uint64 { @@ -955,7 +1045,7 @@ type StakingEvent struct { func (x *StakingEvent) Reset() { *x = StakingEvent{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[12] + mi := &file_vega_chain_events_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -968,7 +1058,7 @@ func (x *StakingEvent) String() string { func (*StakingEvent) ProtoMessage() {} func (x *StakingEvent) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[12] + mi := &file_vega_chain_events_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -981,7 +1071,7 @@ func (x *StakingEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use StakingEvent.ProtoReflect.Descriptor instead. func (*StakingEvent) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{12} + return file_vega_chain_events_proto_rawDescGZIP(), []int{13} } func (x *StakingEvent) GetIndex() uint64 { @@ -1068,7 +1158,7 @@ type StakeDeposited struct { func (x *StakeDeposited) Reset() { *x = StakeDeposited{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[13] + mi := &file_vega_chain_events_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1081,7 +1171,7 @@ func (x *StakeDeposited) String() string { func (*StakeDeposited) ProtoMessage() {} func (x *StakeDeposited) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[13] + mi := &file_vega_chain_events_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1094,7 +1184,7 @@ func (x *StakeDeposited) ProtoReflect() protoreflect.Message { // Deprecated: Use StakeDeposited.ProtoReflect.Descriptor instead. func (*StakeDeposited) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{13} + return file_vega_chain_events_proto_rawDescGZIP(), []int{14} } func (x *StakeDeposited) GetEthereumAddress() string { @@ -1145,7 +1235,7 @@ type StakeRemoved struct { func (x *StakeRemoved) Reset() { *x = StakeRemoved{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[14] + mi := &file_vega_chain_events_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1158,7 +1248,7 @@ func (x *StakeRemoved) String() string { func (*StakeRemoved) ProtoMessage() {} func (x *StakeRemoved) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[14] + mi := &file_vega_chain_events_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1171,7 +1261,7 @@ func (x *StakeRemoved) ProtoReflect() protoreflect.Message { // Deprecated: Use StakeRemoved.ProtoReflect.Descriptor instead. func (*StakeRemoved) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{14} + return file_vega_chain_events_proto_rawDescGZIP(), []int{15} } func (x *StakeRemoved) GetEthereumAddress() string { @@ -1216,7 +1306,7 @@ type StakeTotalSupply struct { func (x *StakeTotalSupply) Reset() { *x = StakeTotalSupply{} if protoimpl.UnsafeEnabled { - mi := &file_vega_chain_events_proto_msgTypes[15] + mi := &file_vega_chain_events_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1229,7 +1319,7 @@ func (x *StakeTotalSupply) String() string { func (*StakeTotalSupply) ProtoMessage() {} func (x *StakeTotalSupply) ProtoReflect() protoreflect.Message { - mi := &file_vega_chain_events_proto_msgTypes[15] + mi := &file_vega_chain_events_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1242,7 +1332,7 @@ func (x *StakeTotalSupply) ProtoReflect() protoreflect.Message { // Deprecated: Use StakeTotalSupply.ProtoReflect.Descriptor instead. func (*StakeTotalSupply) Descriptor() ([]byte, []int) { - return file_vega_chain_events_proto_rawDescGZIP(), []int{15} + return file_vega_chain_events_proto_rawDescGZIP(), []int{16} } func (x *StakeTotalSupply) GetTokenAddress() string { @@ -1294,7 +1384,20 @@ var file_vega_chain_events_proto_rawDesc = []byte{ 0x10, 0x45, 0x52, 0x43, 0x32, 0x30, 0x41, 0x73, 0x73, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x45, 0x52, 0x43, 0x32, 0x30, 0x44, + 0x73, 0x65, 0x74, 0x49, 0x64, 0x22, 0xcd, 0x01, 0x0a, 0x17, 0x45, 0x52, 0x43, 0x32, 0x30, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, + 0x0f, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x11, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x54, 0x68, 0x72, 0x65, + 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x45, 0x52, 0x43, 0x32, 0x30, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x67, 0x61, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x6f, @@ -1314,7 +1417,7 @@ var file_vega_chain_events_proto_rawDesc = []byte{ 0x67, 0x65, 0x74, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0xa3, 0x02, 0x0a, 0x0a, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0xf7, 0x02, 0x0a, 0x0a, 0x45, 0x52, 0x43, 0x32, 0x30, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, @@ -1332,89 +1435,94 @@ var file_vega_chain_events_proto_rawDesc = []byte{ 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x18, 0xec, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0a, 0x77, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x66, 0x0a, 0x10, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x53, 0x69, - 0x67, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x68, 0x0a, 0x12, 0x45, 0x52, 0x43, - 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, - 0x1d, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x14, - 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, - 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, - 0x69, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x11, 0x45, 0x52, 0x43, 0x32, 0x30, 0x54, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, - 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, - 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, - 0x6d, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x45, 0x52, 0x43, 0x32, 0x30, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x53, 0x69, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x65, 0x64, 0x12, 0x42, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x5f, 0x72, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, - 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x73, - 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x54, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x80, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x40, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x65, 0x64, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x65, 0x67, 0x61, - 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x48, - 0x00, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, - 0x64, 0x12, 0x3a, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x64, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x65, 0x67, 0x61, - 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, - 0x0c, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x3c, 0x0a, - 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0xeb, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x6b, - 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x0b, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x08, 0x0a, 0x06, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x44, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x74, 0x68, 0x65, - 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x65, - 0x67, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, - 0x6d, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, - 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, - 0x0a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x50, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x5a, 0x0a, - 0x10, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, - 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, - 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x22, 0x5a, 0x20, 0x63, 0x6f, 0x64, - 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x69, - 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x12, 0x52, 0x0a, 0x14, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, + 0xed, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, + 0x43, 0x32, 0x30, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x66, 0x0a, 0x10, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, + 0x67, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x77, + 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, + 0x65, 0x77, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x68, 0x0a, + 0x12, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x53, 0x69, 0x67, 0x6e, + 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x11, 0x45, 0x52, 0x43, 0x32, 0x30, + 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x45, 0x52, 0x43, 0x32, 0x30, + 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x69, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x16, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x42, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x72, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x3f, 0x0a, 0x0d, 0x74, + 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x18, 0xeb, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x45, 0x52, 0x43, 0x32, 0x30, + 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0c, + 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x53, 0x65, 0x74, 0x42, 0x08, 0x0a, 0x06, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x80, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x6b, 0x69, + 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, + 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x12, 0x40, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x64, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x76, 0x65, 0x67, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x64, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, + 0x79, 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, + 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x42, + 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x5f, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x76, 0x65, 0x67, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, + 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x74, 0x68, 0x65, 0x72, + 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76, 0x65, 0x67, + 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x22, 0x5a, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, + 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x22, 0x5a, + 0x20, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x65, 0x67, + 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1429,43 +1537,45 @@ func file_vega_chain_events_proto_rawDescGZIP() []byte { return file_vega_chain_events_proto_rawDescData } -var file_vega_chain_events_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_vega_chain_events_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_vega_chain_events_proto_goTypes = []interface{}{ - (*BuiltinAssetDeposit)(nil), // 0: vega.BuiltinAssetDeposit - (*BuiltinAssetWithdrawal)(nil), // 1: vega.BuiltinAssetWithdrawal - (*BuiltinAssetEvent)(nil), // 2: vega.BuiltinAssetEvent - (*ERC20AssetList)(nil), // 3: vega.ERC20AssetList - (*ERC20AssetDelist)(nil), // 4: vega.ERC20AssetDelist - (*ERC20Deposit)(nil), // 5: vega.ERC20Deposit - (*ERC20Withdrawal)(nil), // 6: vega.ERC20Withdrawal - (*ERC20Event)(nil), // 7: vega.ERC20Event - (*ERC20SignerAdded)(nil), // 8: vega.ERC20SignerAdded - (*ERC20SignerRemoved)(nil), // 9: vega.ERC20SignerRemoved - (*ERC20ThresholdSet)(nil), // 10: vega.ERC20ThresholdSet - (*ERC20MultiSigEvent)(nil), // 11: vega.ERC20MultiSigEvent - (*StakingEvent)(nil), // 12: vega.StakingEvent - (*StakeDeposited)(nil), // 13: vega.StakeDeposited - (*StakeRemoved)(nil), // 14: vega.StakeRemoved - (*StakeTotalSupply)(nil), // 15: vega.StakeTotalSupply + (*BuiltinAssetDeposit)(nil), // 0: vega.BuiltinAssetDeposit + (*BuiltinAssetWithdrawal)(nil), // 1: vega.BuiltinAssetWithdrawal + (*BuiltinAssetEvent)(nil), // 2: vega.BuiltinAssetEvent + (*ERC20AssetList)(nil), // 3: vega.ERC20AssetList + (*ERC20AssetDelist)(nil), // 4: vega.ERC20AssetDelist + (*ERC20AssetLimitsUpdated)(nil), // 5: vega.ERC20AssetLimitsUpdated + (*ERC20Deposit)(nil), // 6: vega.ERC20Deposit + (*ERC20Withdrawal)(nil), // 7: vega.ERC20Withdrawal + (*ERC20Event)(nil), // 8: vega.ERC20Event + (*ERC20SignerAdded)(nil), // 9: vega.ERC20SignerAdded + (*ERC20SignerRemoved)(nil), // 10: vega.ERC20SignerRemoved + (*ERC20ThresholdSet)(nil), // 11: vega.ERC20ThresholdSet + (*ERC20MultiSigEvent)(nil), // 12: vega.ERC20MultiSigEvent + (*StakingEvent)(nil), // 13: vega.StakingEvent + (*StakeDeposited)(nil), // 14: vega.StakeDeposited + (*StakeRemoved)(nil), // 15: vega.StakeRemoved + (*StakeTotalSupply)(nil), // 16: vega.StakeTotalSupply } var file_vega_chain_events_proto_depIdxs = []int32{ 0, // 0: vega.BuiltinAssetEvent.deposit:type_name -> vega.BuiltinAssetDeposit 1, // 1: vega.BuiltinAssetEvent.withdrawal:type_name -> vega.BuiltinAssetWithdrawal 3, // 2: vega.ERC20Event.asset_list:type_name -> vega.ERC20AssetList 4, // 3: vega.ERC20Event.asset_delist:type_name -> vega.ERC20AssetDelist - 5, // 4: vega.ERC20Event.deposit:type_name -> vega.ERC20Deposit - 6, // 5: vega.ERC20Event.withdrawal:type_name -> vega.ERC20Withdrawal - 8, // 6: vega.ERC20MultiSigEvent.signer_added:type_name -> vega.ERC20SignerAdded - 9, // 7: vega.ERC20MultiSigEvent.signer_removed:type_name -> vega.ERC20SignerRemoved - 10, // 8: vega.ERC20MultiSigEvent.threshold_set:type_name -> vega.ERC20ThresholdSet - 13, // 9: vega.StakingEvent.stake_deposited:type_name -> vega.StakeDeposited - 14, // 10: vega.StakingEvent.stake_removed:type_name -> vega.StakeRemoved - 15, // 11: vega.StakingEvent.total_supply:type_name -> vega.StakeTotalSupply - 12, // [12:12] is the sub-list for method output_type - 12, // [12:12] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name + 6, // 4: vega.ERC20Event.deposit:type_name -> vega.ERC20Deposit + 7, // 5: vega.ERC20Event.withdrawal:type_name -> vega.ERC20Withdrawal + 5, // 6: vega.ERC20Event.asset_limits_updated:type_name -> vega.ERC20AssetLimitsUpdated + 9, // 7: vega.ERC20MultiSigEvent.signer_added:type_name -> vega.ERC20SignerAdded + 10, // 8: vega.ERC20MultiSigEvent.signer_removed:type_name -> vega.ERC20SignerRemoved + 11, // 9: vega.ERC20MultiSigEvent.threshold_set:type_name -> vega.ERC20ThresholdSet + 14, // 10: vega.StakingEvent.stake_deposited:type_name -> vega.StakeDeposited + 15, // 11: vega.StakingEvent.stake_removed:type_name -> vega.StakeRemoved + 16, // 12: vega.StakingEvent.total_supply:type_name -> vega.StakeTotalSupply + 13, // [13:13] is the sub-list for method output_type + 13, // [13:13] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name } func init() { file_vega_chain_events_proto_init() } @@ -1535,7 +1645,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ERC20Deposit); i { + switch v := v.(*ERC20AssetLimitsUpdated); i { case 0: return &v.state case 1: @@ -1547,7 +1657,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ERC20Withdrawal); i { + switch v := v.(*ERC20Deposit); i { case 0: return &v.state case 1: @@ -1559,7 +1669,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ERC20Event); i { + switch v := v.(*ERC20Withdrawal); i { case 0: return &v.state case 1: @@ -1571,7 +1681,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ERC20SignerAdded); i { + switch v := v.(*ERC20Event); i { case 0: return &v.state case 1: @@ -1583,7 +1693,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ERC20SignerRemoved); i { + switch v := v.(*ERC20SignerAdded); i { case 0: return &v.state case 1: @@ -1595,7 +1705,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ERC20ThresholdSet); i { + switch v := v.(*ERC20SignerRemoved); i { case 0: return &v.state case 1: @@ -1607,7 +1717,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ERC20MultiSigEvent); i { + switch v := v.(*ERC20ThresholdSet); i { case 0: return &v.state case 1: @@ -1619,7 +1729,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StakingEvent); i { + switch v := v.(*ERC20MultiSigEvent); i { case 0: return &v.state case 1: @@ -1631,7 +1741,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StakeDeposited); i { + switch v := v.(*StakingEvent); i { case 0: return &v.state case 1: @@ -1643,7 +1753,7 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StakeRemoved); i { + switch v := v.(*StakeDeposited); i { case 0: return &v.state case 1: @@ -1655,6 +1765,18 @@ func file_vega_chain_events_proto_init() { } } file_vega_chain_events_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StakeRemoved); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_vega_chain_events_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StakeTotalSupply); i { case 0: return &v.state @@ -1671,18 +1793,19 @@ func file_vega_chain_events_proto_init() { (*BuiltinAssetEvent_Deposit)(nil), (*BuiltinAssetEvent_Withdrawal)(nil), } - file_vega_chain_events_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_vega_chain_events_proto_msgTypes[8].OneofWrappers = []interface{}{ (*ERC20Event_AssetList)(nil), (*ERC20Event_AssetDelist)(nil), (*ERC20Event_Deposit)(nil), (*ERC20Event_Withdrawal)(nil), + (*ERC20Event_AssetLimitsUpdated)(nil), } - file_vega_chain_events_proto_msgTypes[11].OneofWrappers = []interface{}{ + file_vega_chain_events_proto_msgTypes[12].OneofWrappers = []interface{}{ (*ERC20MultiSigEvent_SignerAdded)(nil), (*ERC20MultiSigEvent_SignerRemoved)(nil), (*ERC20MultiSigEvent_ThresholdSet)(nil), } - file_vega_chain_events_proto_msgTypes[12].OneofWrappers = []interface{}{ + file_vega_chain_events_proto_msgTypes[13].OneofWrappers = []interface{}{ (*StakingEvent_StakeDeposited)(nil), (*StakingEvent_StakeRemoved)(nil), (*StakingEvent_TotalSupply)(nil), @@ -1693,7 +1816,7 @@ func file_vega_chain_events_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_vega_chain_events_proto_rawDesc, NumEnums: 0, - NumMessages: 16, + NumMessages: 17, NumExtensions: 0, NumServices: 0, },