diff --git a/CHANGELOG.md b/CHANGELOG.md index e846c5656c..563e372160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (x/token) [\#609](https://github.com/line/lbm-sdk/pull/609) remove new APIs on x/token * (x/collection) [\#621](https://github.com/line/lbm-sdk/pull/621) add additional information into EventXXXChanged * (x/token) [\#636](https://github.com/line/lbm-sdk/pull/636) add creator into x/token EventIssue +* (x/token) [\#637](https://github.com/line/lbm-sdk/pull/637) rename x/token events ### Bug Fixes * (x/wasm) [\#453](https://github.com/line/lbm-sdk/pull/453) modify wasm grpc query api path diff --git a/docs/core/proto-docs.md b/docs/core/proto-docs.md index 81d71f0530..5c5b546cf4 100644 --- a/docs/core/proto-docs.md +++ b/docs/core/proto-docs.md @@ -1161,13 +1161,13 @@ - [Permission](#lbm.token.v1.Permission) - [lbm/token/v1/event.proto](#lbm/token/v1/event.proto) - - [EventAbandon](#lbm.token.v1.EventAbandon) - [EventAuthorizedOperator](#lbm.token.v1.EventAuthorizedOperator) - [EventBurned](#lbm.token.v1.EventBurned) - - [EventGrant](#lbm.token.v1.EventGrant) - - [EventIssue](#lbm.token.v1.EventIssue) + - [EventGranted](#lbm.token.v1.EventGranted) + - [EventIssued](#lbm.token.v1.EventIssued) - [EventMinted](#lbm.token.v1.EventMinted) - [EventModified](#lbm.token.v1.EventModified) + - [EventRenounced](#lbm.token.v1.EventRenounced) - [EventRevokedOperator](#lbm.token.v1.EventRevokedOperator) - [EventSent](#lbm.token.v1.EventSent) @@ -17464,25 +17464,6 @@ Permission enumerates the valid permissions on a token class. - - -### EventAbandon -EventAbandon is emitted when a grantee abandons its permission. - -Since: 0.46.0 (finschia) - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `contract_id` | [string](#string) | | contract id associated with the token class. | -| `grantee` | [string](#string) | | address of the grantee which abandons its grant. | -| `permission` | [Permission](#lbm.token.v1.Permission) | | permission on the token class. | - - - - - - ### EventAuthorizedOperator @@ -17522,10 +17503,10 @@ Since: 0.46.0 (finschia) - + -### EventGrant -EventGrant is emitted when a granter grants its permission to a grantee. +### EventGranted +EventGranted is emitted when a granter grants its permission to a grantee. Info: `granter` would be empty if the permission is granted by an issuance. @@ -17544,10 +17525,10 @@ Since: 0.46.0 (finschia) - + -### EventIssue -EventIssue is emitted when a new token class is created. +### EventIssued +EventIssued is emitted when a new token class is created. Since: 0.46.0 (finschia) @@ -17607,6 +17588,25 @@ Since: 0.46.0 (finschia) + + +### EventRenounced +EventRenounced is emitted when a grantee renounces its permission. + +Since: 0.46.0 (finschia) + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `contract_id` | [string](#string) | | contract id associated with the token class. | +| `grantee` | [string](#string) | | address of the grantee which abandons its grant. | +| `permission` | [Permission](#lbm.token.v1.Permission) | | permission on the token class. | + + + + + + ### EventRevokedOperator diff --git a/proto/lbm/token/v1/event.proto b/proto/lbm/token/v1/event.proto index 44e8a22028..934628e090 100644 --- a/proto/lbm/token/v1/event.proto +++ b/proto/lbm/token/v1/event.proto @@ -91,10 +91,10 @@ message EventRevokedOperator { string operator = 3; } -// EventIssue is emitted when a new token class is created. +// EventIssued is emitted when a new token class is created. // // Since: 0.46.0 (finschia) -message EventIssue { +message EventIssued { // address which created the contract. string creator = 1; // contract id associated with the token class. @@ -113,12 +113,12 @@ message EventIssue { bool mintable = 8; } -// EventGrant is emitted when a granter grants its permission to a grantee. +// EventGranted is emitted when a granter grants its permission to a grantee. // // Info: `granter` would be empty if the permission is granted by an issuance. // // Since: 0.46.0 (finschia) -message EventGrant { +message EventGranted { // contract id associated with the token class. string contract_id = 1; // address which granted the permission to `grantee`. @@ -130,10 +130,10 @@ message EventGrant { Permission permission = 4; } -// EventAbandon is emitted when a grantee abandons its permission. +// EventRenounced is emitted when a grantee renounces its permission. // // Since: 0.46.0 (finschia) -message EventAbandon { +message EventRenounced { // contract id associated with the token class. string contract_id = 1; // address of the grantee which abandons its grant. diff --git a/x/token/event.go b/x/token/event.go index 858a794a37..5b2e53a416 100644 --- a/x/token/event.go +++ b/x/token/event.go @@ -32,7 +32,7 @@ func AttributeKeyFromString(name string) AttributeKey { return AttributeKey(AttributeKey_value[attributeKeyName]) } -func NewEventIssueToken(event EventIssue, to sdk.AccAddress, amount sdk.Int) sdk.Event { +func NewEventIssueToken(event EventIssued, to sdk.AccAddress, amount sdk.Int) sdk.Event { eventType := EventTypeIssueToken.String() attributes := map[AttributeKey]string{ AttributeKeyContractID: event.ContractId, @@ -157,7 +157,7 @@ func NewEventTransferFrom(event EventSent) sdk.Event { return res } -func NewEventGrantPermToken(event EventGrant) sdk.Event { +func NewEventGrantPermToken(event EventGranted) sdk.Event { eventType := EventTypeGrantPermToken.String() attributes := map[AttributeKey]string{ AttributeKeyContractID: event.ContractId, @@ -176,7 +176,7 @@ func NewEventGrantPermToken(event EventGrant) sdk.Event { return res } -func NewEventGrantPermTokenHead(event EventGrant) sdk.Event { +func NewEventGrantPermTokenHead(event EventGranted) sdk.Event { eventType := EventTypeGrantPermToken.String() attributes := map[AttributeKey]string{ AttributeKeyContractID: event.ContractId, @@ -194,7 +194,7 @@ func NewEventGrantPermTokenHead(event EventGrant) sdk.Event { return res } -func NewEventGrantPermTokenBody(event EventGrant) sdk.Event { +func NewEventGrantPermTokenBody(event EventGranted) sdk.Event { eventType := EventTypeGrantPermToken.String() attributes := map[AttributeKey]string{ AttributeKeyPerm: LegacyPermission(event.Permission).String(), @@ -208,7 +208,7 @@ func NewEventGrantPermTokenBody(event EventGrant) sdk.Event { return res } -func NewEventRevokePermToken(event EventAbandon) sdk.Event { +func NewEventRevokePermToken(event EventRenounced) sdk.Event { eventType := EventTypeRevokePermToken.String() attributes := map[AttributeKey]string{ AttributeKeyContractID: event.ContractId, diff --git a/x/token/event.pb.go b/x/token/event.pb.go index 83ad2b1863..07ae0154d3 100644 --- a/x/token/event.pb.go +++ b/x/token/event.pb.go @@ -345,10 +345,10 @@ func (m *EventRevokedOperator) GetOperator() string { return "" } -// EventIssue is emitted when a new token class is created. +// EventIssued is emitted when a new token class is created. // // Since: 0.46.0 (finschia) -type EventIssue struct { +type EventIssued struct { // address which created the contract. Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // contract id associated with the token class. @@ -367,18 +367,18 @@ type EventIssue struct { Mintable bool `protobuf:"varint,8,opt,name=mintable,proto3" json:"mintable,omitempty"` } -func (m *EventIssue) Reset() { *m = EventIssue{} } -func (m *EventIssue) String() string { return proto.CompactTextString(m) } -func (*EventIssue) ProtoMessage() {} -func (*EventIssue) Descriptor() ([]byte, []int) { +func (m *EventIssued) Reset() { *m = EventIssued{} } +func (m *EventIssued) String() string { return proto.CompactTextString(m) } +func (*EventIssued) ProtoMessage() {} +func (*EventIssued) Descriptor() ([]byte, []int) { return fileDescriptor_d7505f4c4cdec18e, []int{3} } -func (m *EventIssue) XXX_Unmarshal(b []byte) error { +func (m *EventIssued) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventIssued) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventIssue.Marshal(b, m, deterministic) + return xxx_messageInfo_EventIssued.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -388,80 +388,80 @@ func (m *EventIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *EventIssue) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventIssue.Merge(m, src) +func (m *EventIssued) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventIssued.Merge(m, src) } -func (m *EventIssue) XXX_Size() int { +func (m *EventIssued) XXX_Size() int { return m.Size() } -func (m *EventIssue) XXX_DiscardUnknown() { - xxx_messageInfo_EventIssue.DiscardUnknown(m) +func (m *EventIssued) XXX_DiscardUnknown() { + xxx_messageInfo_EventIssued.DiscardUnknown(m) } -var xxx_messageInfo_EventIssue proto.InternalMessageInfo +var xxx_messageInfo_EventIssued proto.InternalMessageInfo -func (m *EventIssue) GetCreator() string { +func (m *EventIssued) GetCreator() string { if m != nil { return m.Creator } return "" } -func (m *EventIssue) GetContractId() string { +func (m *EventIssued) GetContractId() string { if m != nil { return m.ContractId } return "" } -func (m *EventIssue) GetName() string { +func (m *EventIssued) GetName() string { if m != nil { return m.Name } return "" } -func (m *EventIssue) GetSymbol() string { +func (m *EventIssued) GetSymbol() string { if m != nil { return m.Symbol } return "" } -func (m *EventIssue) GetUri() string { +func (m *EventIssued) GetUri() string { if m != nil { return m.Uri } return "" } -func (m *EventIssue) GetMeta() string { +func (m *EventIssued) GetMeta() string { if m != nil { return m.Meta } return "" } -func (m *EventIssue) GetDecimals() int32 { +func (m *EventIssued) GetDecimals() int32 { if m != nil { return m.Decimals } return 0 } -func (m *EventIssue) GetMintable() bool { +func (m *EventIssued) GetMintable() bool { if m != nil { return m.Mintable } return false } -// EventGrant is emitted when a granter grants its permission to a grantee. +// EventGranted is emitted when a granter grants its permission to a grantee. // // Info: `granter` would be empty if the permission is granted by an issuance. // // Since: 0.46.0 (finschia) -type EventGrant struct { +type EventGranted struct { // contract id associated with the token class. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // address which granted the permission to `grantee`. @@ -473,18 +473,18 @@ type EventGrant struct { Permission Permission `protobuf:"varint,4,opt,name=permission,proto3,enum=lbm.token.v1.Permission" json:"permission,omitempty"` } -func (m *EventGrant) Reset() { *m = EventGrant{} } -func (m *EventGrant) String() string { return proto.CompactTextString(m) } -func (*EventGrant) ProtoMessage() {} -func (*EventGrant) Descriptor() ([]byte, []int) { +func (m *EventGranted) Reset() { *m = EventGranted{} } +func (m *EventGranted) String() string { return proto.CompactTextString(m) } +func (*EventGranted) ProtoMessage() {} +func (*EventGranted) Descriptor() ([]byte, []int) { return fileDescriptor_d7505f4c4cdec18e, []int{4} } -func (m *EventGrant) XXX_Unmarshal(b []byte) error { +func (m *EventGranted) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventGranted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventGrant.Marshal(b, m, deterministic) + return xxx_messageInfo_EventGranted.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -494,50 +494,50 @@ func (m *EventGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *EventGrant) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventGrant.Merge(m, src) +func (m *EventGranted) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGranted.Merge(m, src) } -func (m *EventGrant) XXX_Size() int { +func (m *EventGranted) XXX_Size() int { return m.Size() } -func (m *EventGrant) XXX_DiscardUnknown() { - xxx_messageInfo_EventGrant.DiscardUnknown(m) +func (m *EventGranted) XXX_DiscardUnknown() { + xxx_messageInfo_EventGranted.DiscardUnknown(m) } -var xxx_messageInfo_EventGrant proto.InternalMessageInfo +var xxx_messageInfo_EventGranted proto.InternalMessageInfo -func (m *EventGrant) GetContractId() string { +func (m *EventGranted) GetContractId() string { if m != nil { return m.ContractId } return "" } -func (m *EventGrant) GetGranter() string { +func (m *EventGranted) GetGranter() string { if m != nil { return m.Granter } return "" } -func (m *EventGrant) GetGrantee() string { +func (m *EventGranted) GetGrantee() string { if m != nil { return m.Grantee } return "" } -func (m *EventGrant) GetPermission() Permission { +func (m *EventGranted) GetPermission() Permission { if m != nil { return m.Permission } return PermissionUnspecified } -// EventAbandon is emitted when a grantee abandons its permission. +// EventRenounced is emitted when a grantee renounces its permission. // // Since: 0.46.0 (finschia) -type EventAbandon struct { +type EventRenounced struct { // contract id associated with the token class. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // address of the grantee which abandons its grant. @@ -546,18 +546,18 @@ type EventAbandon struct { Permission Permission `protobuf:"varint,3,opt,name=permission,proto3,enum=lbm.token.v1.Permission" json:"permission,omitempty"` } -func (m *EventAbandon) Reset() { *m = EventAbandon{} } -func (m *EventAbandon) String() string { return proto.CompactTextString(m) } -func (*EventAbandon) ProtoMessage() {} -func (*EventAbandon) Descriptor() ([]byte, []int) { +func (m *EventRenounced) Reset() { *m = EventRenounced{} } +func (m *EventRenounced) String() string { return proto.CompactTextString(m) } +func (*EventRenounced) ProtoMessage() {} +func (*EventRenounced) Descriptor() ([]byte, []int) { return fileDescriptor_d7505f4c4cdec18e, []int{5} } -func (m *EventAbandon) XXX_Unmarshal(b []byte) error { +func (m *EventRenounced) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAbandon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventRenounced) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAbandon.Marshal(b, m, deterministic) + return xxx_messageInfo_EventRenounced.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -567,33 +567,33 @@ func (m *EventAbandon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *EventAbandon) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAbandon.Merge(m, src) +func (m *EventRenounced) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventRenounced.Merge(m, src) } -func (m *EventAbandon) XXX_Size() int { +func (m *EventRenounced) XXX_Size() int { return m.Size() } -func (m *EventAbandon) XXX_DiscardUnknown() { - xxx_messageInfo_EventAbandon.DiscardUnknown(m) +func (m *EventRenounced) XXX_DiscardUnknown() { + xxx_messageInfo_EventRenounced.DiscardUnknown(m) } -var xxx_messageInfo_EventAbandon proto.InternalMessageInfo +var xxx_messageInfo_EventRenounced proto.InternalMessageInfo -func (m *EventAbandon) GetContractId() string { +func (m *EventRenounced) GetContractId() string { if m != nil { return m.ContractId } return "" } -func (m *EventAbandon) GetGrantee() string { +func (m *EventRenounced) GetGrantee() string { if m != nil { return m.Grantee } return "" } -func (m *EventAbandon) GetPermission() Permission { +func (m *EventRenounced) GetPermission() Permission { if m != nil { return m.Permission } @@ -808,9 +808,9 @@ func init() { proto.RegisterType((*EventSent)(nil), "lbm.token.v1.EventSent") proto.RegisterType((*EventAuthorizedOperator)(nil), "lbm.token.v1.EventAuthorizedOperator") proto.RegisterType((*EventRevokedOperator)(nil), "lbm.token.v1.EventRevokedOperator") - proto.RegisterType((*EventIssue)(nil), "lbm.token.v1.EventIssue") - proto.RegisterType((*EventGrant)(nil), "lbm.token.v1.EventGrant") - proto.RegisterType((*EventAbandon)(nil), "lbm.token.v1.EventAbandon") + proto.RegisterType((*EventIssued)(nil), "lbm.token.v1.EventIssued") + proto.RegisterType((*EventGranted)(nil), "lbm.token.v1.EventGranted") + proto.RegisterType((*EventRenounced)(nil), "lbm.token.v1.EventRenounced") proto.RegisterType((*EventMinted)(nil), "lbm.token.v1.EventMinted") proto.RegisterType((*EventBurned)(nil), "lbm.token.v1.EventBurned") proto.RegisterType((*EventModified)(nil), "lbm.token.v1.EventModified") @@ -819,78 +819,78 @@ func init() { func init() { proto.RegisterFile("lbm/token/v1/event.proto", fileDescriptor_d7505f4c4cdec18e) } var fileDescriptor_d7505f4c4cdec18e = []byte{ - // 1121 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0xe3, 0xc4, - 0x1b, 0x8e, 0x9b, 0x34, 0x49, 0xa7, 0xdd, 0xfe, 0xfc, 0xf3, 0xa6, 0xad, 0xd7, 0xa0, 0xd4, 0xf4, - 0x54, 0x16, 0x36, 0x61, 0xff, 0x00, 0xbb, 0xdc, 0x9c, 0xc6, 0xad, 0xac, 0xd6, 0x76, 0x34, 0x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, 0x96, 0x42, 0x2f, 0x27, 0x39, 0xcd, 0xe8, 0x31, 0x7c, 0x0c, 0x36, 0xd2, 0x2c, 0x45, 0x3d, - 0xe8, 0x76, 0xa0, 0xc2, 0x96, 0xb3, 0x24, 0xc5, 0x36, 0x87, 0xa8, 0x03, 0x95, 0xec, 0x56, 0xa4, - 0x95, 0xa5, 0xc6, 0x91, 0xcc, 0xae, 0x64, 0x59, 0xea, 0xfc, 0x6d, 0xcd, 0x9e, 0x35, 0x6d, 0x00, - 0x90, 0x3d, 0x6b, 0xea, 0xfd, 0x5d, 0xc0, 0xa6, 0xd1, 0x86, 0xce, 0xae, 0x0a, 0xdc, 0x2c, 0x10, - 0xd7, 0x93, 0x58, 0x03, 0x67, 0xd7, 0xa5, 0x4e, 0x5f, 0xcb, 0xae, 0x4b, 0x6c, 0x9e, 0xd5, 0x3e, - 0x37, 0x39, 0x64, 0xef, 0x64, 0xb5, 0xcf, 0x2d, 0xee, 0x66, 0xcb, 0xd7, 0x82, 0xfa, 0x27, 0x27, - 0xec, 0x7a, 0xb6, 0x7c, 0x2d, 0x17, 0x3f, 0x9f, 0x5e, 0xb7, 0x43, 0xe3, 0xd9, 0x8b, 0xcb, 0x2a, - 0xf3, 0xf2, 0xb2, 0xca, 0xfc, 0x7e, 0x59, 0x65, 0xbe, 0xb9, 0xaa, 0xe6, 0x5e, 0x5e, 0x55, 0x73, - 0xbf, 0x5e, 0x55, 0x73, 0x9f, 0x6e, 0xff, 0xd9, 0x73, 0xf1, 0x3c, 0xfc, 0xeb, 0xed, 0x15, 0xe9, - 0x6f, 0xef, 0xe3, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x06, 0x5b, 0x91, 0x8d, 0x50, 0x0b, 0x00, - 0x00, + // 1124 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0xe3, 0x44, + 0x14, 0x8f,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64, 0x88, 0xf9, 0x47, 0x60, 0x53, 0x39, 0x56, 0x74, 0xb3, 0x6d, 0x9e, 0x34, + 0x94, 0x76, 0x4b, 0x6f, 0x36, 0x94, 0x3d, 0x75, 0x5f, 0x55, 0xea, 0x30, 0x23, 0x0a, 0xd3, 0x40, + 0x2a, 0xcd, 0xa1, 0x2d, 0x77, 0x34, 0xc4, 0xdd, 0x50, 0xf4, 0x3d, 0x00, 0x63, 0x2c, 0xb5, 0xd9, + 0x6c, 0x29, 0x90, 0x13, 0xb7, 0xa6, 0x81, 0x74, 0x7b, 0x8e, 0x67, 0x4f, 0x84, 0x49, 0x95, 0xf0, + 0xef, 0x81, 0x37, 0x62, 0x70, 0x4d, 0xd5, 0x4d, 0xb8, 0x24, 0x6e, 0x4e, 0x03, 0x89, 0x9f, 0xa3, + 0x69, 0x4d, 0xdd, 0x04, 0xae, 0xb5, 0x90, 0x0e, 0xb3, 0x0b, 0x60, 0x9a, 0xe0, 0x10, 0xfc, 0x08, + 0x94, 0x16, 0xc0, 0xed, 0x7d, 0x64, 0x68, 0x30, 0x27, 0x8a, 0xd3, 0x40, 0xda, 0x4c, 0x33, 0xf6, + 0x69, 0x22, 0x3f, 0x04, 0x5b, 0x71, 0x3d, 0x46, 0x5d, 0xdd, 0x3f, 0x69, 0x9b, 0xc6, 0xa1, 0xa2, + 0xc3, 0xe5, 0x85, 0xa8, 0x59, 0x9e, 0x26, 0xa1, 0xb3, 0x0a, 0xb8, 0x1d, 0xa3, 0x99, 0x48, 0xd6, + 0x9b, 0xfb, 0x0a, 0x82, 0x79, 0x71, 0x63, 0x1a, 0x48, 0x6f, 0xce, 0x29, 0xa6, 0x67, 0xb9, 0xa3, + 0x53, 0xec, 0xf1, 0x1f, 0x03, 0xe1, 0x06, 0x7c, 0x28, 0xb0, 0x20, 0xde, 0x99, 0x06, 0xd2, 0x46, + 0x8a, 0xc4, 0xf4, 0x7d, 0x04, 0x36, 0x62, 0xc4, 0x03, 0x24, 0xeb, 0x66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0x00, 0xff, 0xff, 0x09, 0xc6, 0xf1, 0x28, + 0x55, 0x0b, 0x00, 0x00, } func (m *EventSent) Marshal() (dAtA []byte, err error) { @@ -1042,7 +1042,7 @@ func (m *EventRevokedOperator) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventIssue) Marshal() (dAtA []byte, err error) { +func (m *EventIssued) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1052,12 +1052,12 @@ func (m *EventIssue) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventIssue) MarshalTo(dAtA []byte) (int, error) { +func (m *EventIssued) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventIssue) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventIssued) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1122,7 +1122,7 @@ func (m *EventIssue) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventGrant) Marshal() (dAtA []byte, err error) { +func (m *EventGranted) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1132,12 +1132,12 @@ func (m *EventGrant) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventGrant) MarshalTo(dAtA []byte) (int, error) { +func (m *EventGranted) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventGrant) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventGranted) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1171,7 +1171,7 @@ func (m *EventGrant) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventAbandon) Marshal() (dAtA []byte, err error) { +func (m *EventRenounced) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1181,12 +1181,12 @@ func (m *EventAbandon) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAbandon) MarshalTo(dAtA []byte) (int, error) { +func (m *EventRenounced) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAbandon) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventRenounced) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1452,7 +1452,7 @@ func (m *EventRevokedOperator) Size() (n int) { return n } -func (m *EventIssue) Size() (n int) { +func (m *EventIssued) Size() (n int) { if m == nil { return 0 } @@ -1491,7 +1491,7 @@ func (m *EventIssue) Size() (n int) { return n } -func (m *EventGrant) Size() (n int) { +func (m *EventGranted) Size() (n int) { if m == nil { return 0 } @@ -1515,7 +1515,7 @@ func (m *EventGrant) Size() (n int) { return n } -func (m *EventAbandon) Size() (n int) { +func (m *EventRenounced) Size() (n int) { if m == nil { return 0 } @@ -2114,7 +2114,7 @@ func (m *EventRevokedOperator) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventIssue) Unmarshal(dAtA []byte) error { +func (m *EventIssued) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2137,10 +2137,10 @@ func (m *EventIssue) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventIssue: wiretype end group for non-group") + return fmt.Errorf("proto: EventIssued: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventIssue: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventIssued: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2395,7 +2395,7 @@ func (m *EventIssue) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventGrant) Unmarshal(dAtA []byte) error { +func (m *EventGranted) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2418,10 +2418,10 @@ func (m *EventGrant) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventGrant: wiretype end group for non-group") + return fmt.Errorf("proto: EventGranted: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventGrant: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventGranted: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2560,7 +2560,7 @@ func (m *EventGrant) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventAbandon) Unmarshal(dAtA []byte) error { +func (m *EventRenounced) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2583,10 +2583,10 @@ func (m *EventAbandon) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventAbandon: wiretype end group for non-group") + return fmt.Errorf("proto: EventRenounced: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventAbandon: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventRenounced: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/token/event_test.go b/x/token/event_test.go index 85ba1dbb7f..dca71ad978 100644 --- a/x/token/event_test.go +++ b/x/token/event_test.go @@ -50,7 +50,7 @@ func TestNewEventIssueToken(t *testing.T) { rand.Seed(time.Now().UnixNano()) str := func() string { return randomString(8) } - event := token.EventIssue{ + event := token.EventIssued{ Creator: str(), ContractId: str(), Name: str(), @@ -257,7 +257,7 @@ func TestNewEventGrantPermToken(t *testing.T) { return token.Permission(1 + rand.Intn(n)) } - event := token.EventGrant{ + event := token.EventGranted{ ContractId: str(), Granter: str(), Grantee: str(), @@ -286,7 +286,7 @@ func TestNewEventGrantPermTokenHead(t *testing.T) { return token.Permission(1 + rand.Intn(n)) } - event := token.EventGrant{ + event := token.EventGranted{ ContractId: str(), Granter: str(), Grantee: str(), @@ -313,7 +313,7 @@ func TestNewEventGrantPermTokenBody(t *testing.T) { return token.Permission(1 + rand.Intn(n)) } - event := token.EventGrant{ + event := token.EventGranted{ ContractId: str(), Granter: str(), Grantee: str(), @@ -339,7 +339,7 @@ func TestNewEventRevokePermToken(t *testing.T) { return token.Permission(1 + rand.Intn(n)) } - event := token.EventAbandon{ + event := token.EventRenounced{ ContractId: str(), Grantee: str(), Permission: permission(), diff --git a/x/token/keeper/msg_server.go b/x/token/keeper/msg_server.go index 58111076e8..d1407ad4d3 100644 --- a/x/token/keeper/msg_server.go +++ b/x/token/keeper/msg_server.go @@ -196,7 +196,7 @@ func (s msgServer) GrantPermission(c context.Context, req *token.MsgGrantPermiss s.keeper.Grant(ctx, req.ContractId, granter, grantee, permission) - event := token.EventGrant{ + event := token.EventGranted{ ContractId: req.ContractId, Granter: req.From, Grantee: req.To, @@ -222,7 +222,7 @@ func (s msgServer) RevokePermission(c context.Context, req *token.MsgRevokePermi s.keeper.Abandon(ctx, req.ContractId, grantee, permission) - event := token.EventAbandon{ + event := token.EventRenounced{ ContractId: req.ContractId, Grantee: req.From, Permission: permission, diff --git a/x/token/keeper/supply.go b/x/token/keeper/supply.go index 903a2f1e8d..871390e00a 100644 --- a/x/token/keeper/supply.go +++ b/x/token/keeper/supply.go @@ -9,7 +9,7 @@ import ( func (k Keeper) Issue(ctx sdk.Context, class token.TokenClass, owner, to sdk.AccAddress, amount sdk.Int) { k.issue(ctx, class) - event := token.EventIssue{ + event := token.EventIssued{ Creator: owner.String(), ContractId: class.ContractId, Name: class.Name, @@ -35,7 +35,7 @@ func (k Keeper) Issue(ctx sdk.Context, class token.TokenClass, owner, to sdk.Acc } // legacy - eventGrant := token.EventGrant{ + eventGrant := token.EventGranted{ ContractId: class.ContractId, Grantee: to.String(), } @@ -308,7 +308,7 @@ func (k Keeper) modify(ctx sdk.Context, contractID string, changes []token.Pair) func (k Keeper) Grant(ctx sdk.Context, contractID string, granter, grantee sdk.AccAddress, permission token.Permission) { k.grant(ctx, contractID, grantee, permission) - event := token.EventGrant{ + event := token.EventGranted{ ContractId: contractID, Granter: granter.String(), Grantee: grantee.String(), @@ -331,7 +331,7 @@ func (k Keeper) grant(ctx sdk.Context, contractID string, grantee sdk.AccAddress func (k Keeper) Abandon(ctx sdk.Context, contractID string, grantee sdk.AccAddress, permission token.Permission) { k.deleteGrant(ctx, contractID, grantee, permission) - event := token.EventAbandon{ + event := token.EventRenounced{ ContractId: contractID, Grantee: grantee.String(), Permission: permission,