diff --git a/README.md b/README.md new file mode 100644 index 0000000..fce927c --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +

CosmWasm Lifecycle Module

+ +![IMG](./docs/logo.jpg) + +### Abstract + +CosmWasm Lifecycle blockchain module leverages [CosmoSDK's lifecycle](https://docs.cosmos.network/main/build/building-modules/beginblock-endblock) to facilitate the execution of smart contracts at the initiation and conclusion of each block. Given the necessity for swift and resource-light execution in both stages, this module mandates [Gov](https://docs.cosmos.network/main/build/modules/gov) voting and demands a collateral deposit for each smart contract on an individual basis. This collateral deposit will be burned if the smart contract fails to execute multiple times. + + +### Usecases + +Automatic execution of smart contracts is very useful because it enables multiple usecases like for example: +- laverage consensus of multiple parties to do oracle data voting, +- decentralized LP rebalancing by a protocol itself, +- automatic disputes resolution, +- rewards claiming and restaking, + +As you can see there are multiple use cases that will be enabled with this module. + +### Drawbacks + +Automatic smart contract executions in consensus is a double edge sword because too many smart contract executions or too many operations in the smart contracts can slowdown the block production significantly. + +### Solution to the drawbacks + + + + + + + + + + + + + + + + +
GovernanceCollateralTechnology +
+ The first messure to the issues is to involve `chain governance` to collectively vote on enabling each smart contract execution at begin or end block. That way the overall community can decide if the usecase and optimization of the smart contract is good enough for the required computation. + + A secondary measure is to `require a collateral deposit` for each smart contract that will be executed on block lifecycle. This deposit will burned if the smart contract fails the execution many times (which is defined in the module params). + + The latest measure is to allow smart contracts execution each `n number of blocks`. Which means that execution at end and begin block decreases computation complexity because it does not have to load all the wasm environment and try an execution each time. +
+ diff --git a/docs/icons/collateral.jpg b/docs/icons/collateral.jpg new file mode 100644 index 0000000..3f38a82 Binary files /dev/null and b/docs/icons/collateral.jpg differ diff --git a/docs/icons/governance.jpg b/docs/icons/governance.jpg new file mode 100644 index 0000000..ff3ae6a Binary files /dev/null and b/docs/icons/governance.jpg differ diff --git a/docs/icons/technology.jpg b/docs/icons/technology.jpg new file mode 100644 index 0000000..0b07795 Binary files /dev/null and b/docs/icons/technology.jpg differ diff --git a/proto/emidev98/cosmwasmlifecycle/events.proto b/proto/emidev98/cosmwasmlifecycle/events.proto index e9f5c4a..b9f405b 100644 --- a/proto/emidev98/cosmwasmlifecycle/events.proto +++ b/proto/emidev98/cosmwasmlifecycle/events.proto @@ -1,18 +1,66 @@ syntax = "proto3"; package emidev98.cosmwasmlifecycle; +import "cosmos/base/v1beta1/coin.proto"; import "cosmos_proto/cosmos.proto"; +import "emidev98/cosmwasmlifecycle/execution_type.proto"; +import "gogoproto/gogo.proto"; + option go_package = "github.com/emidev98/cosmwasm-lifecycle/x/cosmwasmlifecycle/types"; -// TODO: add remaining events on msgs -message ContractDeleteEvent { +// This event is executed when a contract is registered using MsgRegisterContractProposal +message RegisterContractEvent { + string module_name = 1; + string contract_address = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + cosmos.base.v1beta1.Coin contract_deposit = 3 [ + (gogoproto.nullable) = false, + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin" + ]; + ExecutionType execution_type = 4; + int64 block_frequency = 5; +} + +// This event is executed when a contract is modified using MsgModifyContractProposal +message ModifyContractEvent { + string module_name = 1; + string contract_address = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + ExecutionType new_execution_type = 3; + int64 new_block_frequency = 4; +} + +// This event is executed when a contract is removed using MsgRemoveContractProposal +message RemoveContractEvent { string module_name = 1; string contract_address = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + string refund_account = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + cosmos.base.v1beta1.Coin refund_amount = 4 [ + (gogoproto.nullable) = false, + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin" + ]; } +// This event is executed when a contract is funded using MsgFundExistentContract +message FundExistentContractEvent { + string module_name = 1; + string contract_address = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + string sender_address = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + cosmos.base.v1beta1.Coin deposit_amount = 4 [ + (gogoproto.nullable) = false, + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin" + ]; +} + +// This event is executed each time a contract returns an error and it's striked message ContractStrikeEvent { string module_name = 1; string contract_address = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; int64 current_strike = 3; string strike_reason = 4; -} \ No newline at end of file +} + +// This event is executed when a contract reaches the maximum number of strikes +// the contract is removed and the funds are burn +message ForceRemoveContractEvent { + string module_name = 1; + string contract_address = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; +} diff --git a/readme.md b/readme.md deleted file mode 100644 index 883dbdd..0000000 --- a/readme.md +++ /dev/null @@ -1,24 +0,0 @@ -

CosmWasm Lifecycle Module

- -![IMG](./docs/logo.jpg) - -### Abstract - -CosmWasm Lifecycle blockchain module leverages [CosmoSDK's lifecycle](https://docs.cosmos.network/main/build/building-modules/beginblock-endblock) to facilitate the execution of smart contracts at the initiation and conclusion of each block. Given the necessity for swift and resource-light execution in both stages, this module mandates [Gov](https://docs.cosmos.network/main/build/modules/gov) voting and demands a collateral deposit for each smart contract on an individual basis. This collateral deposit will be burned if the smart contract fails to execute multiple times. - - -### Usecases - -Automatic execution of smart contracts is very useful because enable multiple usecases that can laverage consensus to do oracle data voting, automatic LP rebalancing, automatic disputes, automatic rewards claiming, restaking... - -### Drawbacks - -Automatic smart contract executions in consensus is a double edge sword because too many smart contract executions or too many operations in the smart contracts can slowdown the block production significantly. - -### Solution to the drawbacks - -This module addresses the earlier issue by empowering the `chain's governance` to collectively vote on enabling each smart contract's automatic execution. - -Additionally, a secondary measure is implemented, `requiring a collateral deposit` for each smart contract if it wants to be executed. This deposit will be burned if the smart contract fails the execution multiple times - -A third measure to the previously mentioned problem, is to allow smart contracts execution each `n number of blocks`. Which means that execution at end and begin block decreases computation necessity because it does not have to load all the wasm environment and try an execution. diff --git a/x/cosmwasmlifecycle/keeper/events.go b/x/cosmwasmlifecycle/keeper/events.go index 1d43c71..43e9256 100644 --- a/x/cosmwasmlifecycle/keeper/events.go +++ b/x/cosmwasmlifecycle/keeper/events.go @@ -5,6 +5,72 @@ import ( "github.com/emidev98/cosmwasm-lifecycle/x/cosmwasmlifecycle/types" ) +// Emits an event to notify that a contract has been +// registerd for execution on begin and end block +func EmitRegisterContractEvent( + ctx sdk.Context, + contractAddress sdk.AccAddress, + contractDeposit sdk.Coin, + executionType types.ExecutionType, + blockFrequency int64, +) error { + return ctx.EventManager().EmitTypedEvent(&types.RegisterContractEvent{ + ModuleName: types.ModuleName, + ContractAddress: contractAddress.String(), + ContractDeposit: contractDeposit, + ExecutionType: executionType, + BlockFrequency: blockFrequency, + }) +} + +// Emits an event to notify that a contract has been +// mondified its execution on begin and end block +func EmitModifyContractEvent( + ctx sdk.Context, + contractAddress sdk.AccAddress, + executionType types.ExecutionType, + blockFrequency int64, +) error { + return ctx.EventManager().EmitTypedEvent(&types.ModifyContractEvent{ + ModuleName: types.ModuleName, + ContractAddress: contractAddress.String(), + NewExecutionType: executionType, + NewBlockFrequency: blockFrequency, + }) +} + +// Emits an event to notify that a contract has been +// remove from its execution on begin and end block +func EmitRemoveContractEvent( + ctx sdk.Context, + contractAddress sdk.AccAddress, + refundAccount sdk.AccAddress, + refundAmount sdk.Coin, +) error { + return ctx.EventManager().EmitTypedEvent(&types.RemoveContractEvent{ + ModuleName: types.ModuleName, + ContractAddress: contractAddress.String(), + RefundAccount: refundAccount.String(), + RefundAmount: refundAmount, + }) +} + +// Emits an event to notify that the contract has been striked +// including the address, current strike and the reason +func EmitFundExistentContractEvent( + ctx sdk.Context, + contractAddress sdk.AccAddress, + senderAddress sdk.AccAddress, + depositAmount sdk.Coin, +) error { + return ctx.EventManager().EmitTypedEvent(&types.FundExistentContractEvent{ + ModuleName: types.ModuleName, + ContractAddress: contractAddress.String(), + SenderAddress: senderAddress.String(), + DepositAmount: depositAmount, + }) +} + // Emits an event to notify that the contract has been striked // including the address, current strike and the reason func EmitContractStrikeEvent( @@ -21,13 +87,13 @@ func EmitContractStrikeEvent( }) } -// Emits an event to notify that the contract has been striked -// including the address, current strike and the reason -func EmitContractDeleteEvent( +// Emits an event to notify that the contract has received the +// last strike that make it be removed from the state execution +func EmitForceRemoveContractEvent( ctx sdk.Context, contractAddress sdk.AccAddress, ) error { - return ctx.EventManager().EmitTypedEvent(&types.ContractDeleteEvent{ + return ctx.EventManager().EmitTypedEvent(&types.ForceRemoveContractEvent{ ModuleName: types.ModuleName, ContractAddress: contractAddress.String(), }) diff --git a/x/cosmwasmlifecycle/keeper/keeper.go b/x/cosmwasmlifecycle/keeper/keeper.go index 644d137..57a73b3 100644 --- a/x/cosmwasmlifecycle/keeper/keeper.go +++ b/x/cosmwasmlifecycle/keeper/keeper.go @@ -135,7 +135,7 @@ func (k Keeper) deleteContractAndBurnDeposit(ctx sdk.Context, contractAddr sdk.A return err } - err = EmitContractDeleteEvent(ctx, contractAddr) + err = EmitForceRemoveContractEvent(ctx, contractAddr) if err != nil { return err } diff --git a/x/cosmwasmlifecycle/keeper/msg_server.go b/x/cosmwasmlifecycle/keeper/msg_server.go index 1561d45..41fc584 100644 --- a/x/cosmwasmlifecycle/keeper/msg_server.go +++ b/x/cosmwasmlifecycle/keeper/msg_server.go @@ -38,18 +38,33 @@ func (s msgServer) RegisterContract(ctx context.Context, msg *types.MsgRegisterC } sdkCtx := sdk.UnwrapSDKContext(ctx) + contractAddr, err := sdk.AccAddressFromBech32(msg.GetContractAddr()) + if err != nil { + return nil, err + } + _, found := s.Keeper.GetContract(sdkCtx, sdk.MustAccAddressFromBech32(msg.GetContractAddr())) if found { return nil, types.ErrorContractAlreadyExists } contract := types.NewCleanContract(msg.GetExecutionType(), msg.GetExecutionBlocksFrequency(), msg.ContractDeposit) + // store contract - s.Keeper.SetContract(sdkCtx, - sdk.AccAddress(msg.GetContractAddr()), - contract, + s.Keeper.SetContract(sdkCtx, contractAddr, contract) + + // Construct and e mit the contract register event + err = EmitRegisterContractEvent( + sdkCtx, + contractAddr, + msg.ContractDeposit, + msg.GetExecutionType(), + msg.GetExecutionBlocksFrequency(), ) - // TODO: emit contract enabled event + if err != nil { + return nil, err + } + return res, err } @@ -60,7 +75,12 @@ func (s msgServer) ModifyContract(ctx context.Context, msg *types.MsgModifyContr } sdkCtx := sdk.UnwrapSDKContext(ctx) - contract, found := s.Keeper.GetContract(sdkCtx, sdk.MustAccAddressFromBech32(msg.GetContractAddr())) + contractAddr, err := sdk.AccAddressFromBech32(msg.GetContractAddr()) + if err != nil { + return nil, err + } + + contract, found := s.Keeper.GetContract(sdkCtx, contractAddr) if !found { return nil, types.ErrorContractNotFoundWithAddress } @@ -93,9 +113,20 @@ func (s msgServer) ModifyContract(ctx context.Context, msg *types.MsgModifyContr } // Override the execution frequency contract.ExecutionFrequency = msg.GetExecutionBlocksFrequency() + // store contract - s.Keeper.SetContract(sdkCtx, sdk.MustAccAddressFromBech32(msg.GetContractAddr()), contract) - // TODO: emit contract modify event + s.Keeper.SetContract(sdkCtx, contractAddr, contract) + + // Construct and e mit the contract modification event + err = EmitModifyContractEvent( + sdkCtx, + contractAddr, + msg.GetExecutionType(), + msg.GetExecutionBlocksFrequency(), + ) + if err != nil { + return nil, err + } return res, err } @@ -106,30 +137,49 @@ func (s msgServer) RemoveContract(ctx context.Context, msg *types.MsgRemoveContr return nil, types.ErrorInvalidAuthority } sdkCtx := sdk.UnwrapSDKContext(ctx) - contract, found := s.Keeper.GetContract(sdkCtx, sdk.MustAccAddressFromBech32(msg.GetContractAddr())) + contractAddr, err := sdk.AccAddressFromBech32(msg.GetContractAddr()) + if err != nil { + return nil, err + } + contract, found := s.Keeper.GetContract(sdkCtx, contractAddr) if !found { return nil, types.ErrorContractNotFoundWithAddress } - s.Keeper.DeleteContract(sdkCtx, sdk.AccAddress(msg.GetContractAddr())) + refundAccount := sdk.AccAddress(msg.DepositRefundAccount) + s.Keeper.DeleteContract(sdkCtx, contractAddr) err = s.bankKeeper.SendCoinsFromModuleToAccount( sdkCtx, types.ModuleName, - sdk.AccAddress(msg.DepositRefundAccount), + refundAccount, sdk.NewCoins(contract.Deposit), ) if err != nil { return nil, err } - // TODO: emit contract removed event + + // Construct and e mit the contract modification event + err = EmitRemoveContractEvent( + sdkCtx, + contractAddr, + refundAccount, + contract.Deposit, + ) + if err != nil { + return nil, err + } return res, err } // Fund existent contract execution. func (s msgServer) FundExistentContract(ctx context.Context, msg *types.MsgFundExistentContract) (res *types.MsgFundExistentContractResponse, err error) { sdkCtx := sdk.UnwrapSDKContext(ctx) - contract, found := s.Keeper.GetContract(sdkCtx, sdk.MustAccAddressFromBech32(msg.GetContractAddr())) + contractAddr, err := sdk.AccAddressFromBech32(msg.GetContractAddr()) + if err != nil { + return nil, err + } + contract, found := s.Keeper.GetContract(sdkCtx, contractAddr) if !found { return nil, types.ErrorContractNotFoundWithAddress } @@ -139,7 +189,16 @@ func (s msgServer) FundExistentContract(ctx context.Context, msg *types.MsgFundE } contract.Deposit = contract.Deposit.Add(msg.Deposit) // store contract - s.Keeper.SetContract(sdkCtx, sdk.MustAccAddressFromBech32(msg.GetContractAddr()), contract) + s.Keeper.SetContract(sdkCtx, contractAddr, contract) + + err = EmitFundExistentContractEvent(sdkCtx, + contractAddr, + sdk.MustAccAddressFromBech32(msg.Sender), + msg.Deposit, + ) + if err != nil { + return nil, err + } return res, err } diff --git a/x/cosmwasmlifecycle/types/contract.pb.go b/x/cosmwasmlifecycle/types/contract.pb.go index 54cf234..14d113c 100644 --- a/x/cosmwasmlifecycle/types/contract.pb.go +++ b/x/cosmwasmlifecycle/types/contract.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmwasmlifecycle/contract.proto +// source: emidev98/cosmwasmlifecycle/contract.proto package types @@ -29,7 +29,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Contract defines the parameters for the module. type Contract struct { // Contract's execution type - ExecutionType ExecutionType `protobuf:"varint,1,opt,name=execution_type,json=executionType,proto3,enum=cosmwasmlifecycle.ExecutionType" json:"execution_type,omitempty"` + ExecutionType ExecutionType `protobuf:"varint,1,opt,name=execution_type,json=executionType,proto3,enum=emidev98.cosmwasmlifecycle.ExecutionType" json:"execution_type,omitempty"` // Execution frequency ExecutionFrequency int64 `protobuf:"varint,2,opt,name=execution_frequency,json=executionFrequency,proto3" json:"execution_frequency,omitempty"` // Latest block execution @@ -44,7 +44,7 @@ func (m *Contract) Reset() { *m = Contract{} } func (m *Contract) String() string { return proto.CompactTextString(m) } func (*Contract) ProtoMessage() {} func (*Contract) Descriptor() ([]byte, []int) { - return fileDescriptor_59daeaab22a14127, []int{0} + return fileDescriptor_aaa869d087db789f, []int{0} } func (m *Contract) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -102,36 +102,38 @@ func (m *Contract) GetStrikes() int64 { } func init() { - proto.RegisterType((*Contract)(nil), "cosmwasmlifecycle.Contract") + proto.RegisterType((*Contract)(nil), "emidev98.cosmwasmlifecycle.Contract") } -func init() { proto.RegisterFile("cosmwasmlifecycle/contract.proto", fileDescriptor_59daeaab22a14127) } +func init() { + proto.RegisterFile("emidev98/cosmwasmlifecycle/contract.proto", fileDescriptor_aaa869d087db789f) +} -var fileDescriptor_59daeaab22a14127 = []byte{ - // 363 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xc1, 0x4e, 0xea, 0x40, - 0x14, 0x86, 0x5b, 0xb8, 0xf7, 0x72, 0xd3, 0x9b, 0x4b, 0x62, 0x25, 0xa6, 0xb0, 0x28, 0x8d, 0x0b, - 0x65, 0xc3, 0x4c, 0x40, 0x17, 0xba, 0x33, 0x10, 0x75, 0x4f, 0x5c, 0xb1, 0x69, 0xda, 0xe9, 0x01, - 0x27, 0xb4, 0x9d, 0xda, 0x19, 0x90, 0xbe, 0x85, 0xcf, 0xe3, 0x13, 0xb0, 0x64, 0x69, 0x5c, 0x10, - 0x03, 0x2f, 0x62, 0xda, 0x4e, 0x01, 0x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, 0xf8, 0x6d, - 0xa9, 0x9d, 0x7f, 0xfd, 0x26, 0x92, 0xf5, 0xa5, 0x85, 0x21, 0x59, 0x18, 0x1a, 0x32, 0x1a, 0x0e, - 0xf0, 0x6a, 0xd3, 0x56, 0x3e, 0x37, 0xed, 0xcb, 0x29, 0x15, 0xcf, 0x73, 0x17, 0x11, 0x16, 0xc8, - 0xae, 0xe5, 0xa7, 0xcb, 0xbd, 0x19, 0x4e, 0xeb, 0xe0, 0xd9, 0x81, 0x51, 0x11, 0x3d, 0x18, 0xaf, - 0xb6, 0xa6, 0xba, 0xde, 0x9a, 0xea, 0xd7, 0xd6, 0x54, 0xdf, 0x76, 0xa6, 0xb2, 0xde, 0x99, 0xca, - 0xc7, 0xce, 0x54, 0xc6, 0x77, 0x47, 0x59, 0x10, 0x50, 0x0f, 0x16, 0xb7, 0x37, 0xb8, 0x28, 0xb1, - 0x7b, 0xd8, 0xc9, 0x12, 0x97, 0xf7, 0x94, 0xdd, 0xe4, 0xfe, 0xc9, 0xf6, 0x73, 0xf5, 0x1d, 0x00, - 0x00, 0xff, 0xff, 0x11, 0xf1, 0xfd, 0x5c, 0x4f, 0x02, 0x00, 0x00, +var fileDescriptor_aaa869d087db789f = []byte{ + // 366 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x4e, 0xea, 0x40, + 0x14, 0x6d, 0xe1, 0xbd, 0xc7, 0x4b, 0x8d, 0x2c, 0x2a, 0x31, 0x85, 0x45, 0x21, 0x6e, 0x84, 0x05, + 0x33, 0x01, 0x5d, 0xe8, 0xce, 0x40, 0x74, 0x6d, 0x88, 0x2b, 0x36, 0x4d, 0x3b, 0xbd, 0xe0, 0x84, + 0xb6, 0x53, 0x3b, 0x03, 0xd2, 0xbf, 0xf0, 0x9f, 0xdc, 0xb0, 0x64, 0x69, 0x5c, 0x10, 0x03, 0x3f, + 0x62, 0xda, 0x4e, 0x01, 0x83, 0xba, 0x6a, 0x4f, 0xce, 0x39, 0xf7, 0xde, 0x39, 0x47, 0x6b, 0x81, + 0x4f, 0x5d, 0x98, 0x5d, 0x5f, 0x61, 0xc2, 0xb8, 0xff, 0x6c, 0x73, 0xdf, 0xa3, 0x23, 0x20, 0x31, + 0xf1, 0x00, 0x13, 0x16, 0x88, 0xc8, 0x26, 0x02, 0x85, 0x11, 0x13, 0x4c, 0xaf, 0xe5, 0x52, 0x74, + 0x20, 0xad, 0x55, 0xc6, 0x6c, 0xcc, 0x52, 0x19, 0x4e, 0xfe, 0x32, 0x47, 0xad, 0x9a, 0x08, 0x19, + 0xb7, 0x32, 0x22, 0x03, 0x92, 0x32, 0x33, 0x84, 0x1d, 0x9b, 0x03, 0x9e, 0x75, 0x1c, 0x10, 0x76, + 0x07, 0x13, 0x46, 0x03, 0xc9, 0xe3, 0x5f, 0xee, 0x82, 0x39, 0x90, 0xa9, 0xa0, 0x2c, 0xb0, 0x44, + 0x1c, 0x42, 0x66, 0x38, 0x7b, 0x2d, 0x68, 0xff, 0xfb, 0xf2, 0x60, 0xfd, 0x5e, 0x2b, 0x7f, 0x15, + 0x19, 0x6a, 0x43, 0x6d, 0x96, 0xbb, 0x2d, 0xf4, 0xf3, 0x1b, 0xd0, 0x6d, 0xee, 0x78, 0x88, 0x43, + 0x18, 0x1c, 0xc3, 0x3e, 0xd4, 0xb1, 0x76, 0xb2, 0x9b, 0x38, 0x8a, 0xe0, 0x69, 0x0a, 0x01, 0x89, + 0x8d, 0x42, 0x43, 0x6d, 0x16, 0x07, 0xfa, 0x96, 0xba, 0xcb, 0x19, 0xfd, 0x52, 0x3b, 0xf5, 0x6c, + 0x01, 0x5c, 0x58, 0x8e, 0xc7, 0xc8, 0xc4, 0xda, 0x4a, 0x8c, 0x62, 0xea, 0xa9, 0x64, 0x6c, 0x2f, + 0x21, 0xb7, 0x9b, 0x75, 0x43, 0x2b, 0x71, 0x11, 0xd1, 0x09, 0x70, 0xe3, 0x4f, 0x2a, 0xcb, 0xa1, + 0xee, 0x6a, 0x25, 0x17, 0x42, 0xc6, 0xa9, 0x30, 0xfe, 0x36, 0xd4, 0xe6, 0x51, 0xb7, 0x8a, 0x64, + 0xa0, 0x49, 0x84, 0x48, 0x46, 0x88, 0xfa, 0x8c, 0x06, 0x3d, 0xbc, 0x58, 0xd5, 0x95, 0xf7, 0x55, + 0xfd, 0x7c, 0x4c, 0xc5, 0xe3, 0xd4, 0x41, 0x84, 0xf9, 0x32, 0x7d, 0xf9, 0x69, 0x73, 0x77, 0x82, + 0x93, 0x5c, 0x78, 0x6a, 0x18, 0xe4, 0xa3, 0x7b, 0xc3, 0xc5, 0xda, 0x54, 0x97, 0x6b, 0x53, 0xfd, + 0x58, 0x9b, 0xea, 0xcb, 0xc6, 0x54, 0x96, 0x1b, 0x53, 0x79, 0xdb, 0x98, 0xca, 0xf0, 0x66, 0x6f, + 0xd6, 0x41, 0x37, 0xed, 0x5d, 0x39, 0xf3, 0x6f, 0x0a, 0x4b, 0x37, 0x39, 0xff, 0xd2, 0xa2, 0x2e, + 0x3e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xd9, 0x03, 0x9a, 0x73, 0x02, 0x00, 0x00, } func (m *Contract) Marshal() (dAtA []byte, err error) { diff --git a/x/cosmwasmlifecycle/types/events.pb.go b/x/cosmwasmlifecycle/types/events.pb.go index 4298d0a..509cff1 100644 --- a/x/cosmwasmlifecycle/types/events.pb.go +++ b/x/cosmwasmlifecycle/types/events.pb.go @@ -1,11 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmwasmlifecycle/events.proto +// source: emidev98/cosmwasmlifecycle/events.proto package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -23,24 +26,227 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// TODO: add remaining events on msgs -type ContractDeleteEvent struct { - ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` - ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` +// This event is executed when a contract is registered using MsgRegisterContractProposal +type RegisterContractEvent struct { + ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` + ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + ContractDeposit github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=contract_deposit,json=contractDeposit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"contract_deposit"` + ExecutionType ExecutionType `protobuf:"varint,4,opt,name=execution_type,json=executionType,proto3,enum=emidev98.cosmwasmlifecycle.ExecutionType" json:"execution_type,omitempty"` + BlockFrequency int64 `protobuf:"varint,5,opt,name=block_frequency,json=blockFrequency,proto3" json:"block_frequency,omitempty"` +} + +func (m *RegisterContractEvent) Reset() { *m = RegisterContractEvent{} } +func (m *RegisterContractEvent) String() string { return proto.CompactTextString(m) } +func (*RegisterContractEvent) ProtoMessage() {} +func (*RegisterContractEvent) Descriptor() ([]byte, []int) { + return fileDescriptor_b5f21cab13267c05, []int{0} +} +func (m *RegisterContractEvent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RegisterContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RegisterContractEvent.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RegisterContractEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterContractEvent.Merge(m, src) +} +func (m *RegisterContractEvent) XXX_Size() int { + return m.Size() +} +func (m *RegisterContractEvent) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterContractEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterContractEvent proto.InternalMessageInfo + +func (m *RegisterContractEvent) GetModuleName() string { + if m != nil { + return m.ModuleName + } + return "" +} + +func (m *RegisterContractEvent) GetContractAddress() string { + if m != nil { + return m.ContractAddress + } + return "" +} + +func (m *RegisterContractEvent) GetExecutionType() ExecutionType { + if m != nil { + return m.ExecutionType + } + return ExecutionType_BEGIN_BLOCK +} + +func (m *RegisterContractEvent) GetBlockFrequency() int64 { + if m != nil { + return m.BlockFrequency + } + return 0 +} + +// This event is executed when a contract is modified using MsgModifyContractProposal +type ModifyContractEvent struct { + ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` + ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + NewExecutionType ExecutionType `protobuf:"varint,3,opt,name=new_execution_type,json=newExecutionType,proto3,enum=emidev98.cosmwasmlifecycle.ExecutionType" json:"new_execution_type,omitempty"` + NewBlockFrequency int64 `protobuf:"varint,4,opt,name=new_block_frequency,json=newBlockFrequency,proto3" json:"new_block_frequency,omitempty"` +} + +func (m *ModifyContractEvent) Reset() { *m = ModifyContractEvent{} } +func (m *ModifyContractEvent) String() string { return proto.CompactTextString(m) } +func (*ModifyContractEvent) ProtoMessage() {} +func (*ModifyContractEvent) Descriptor() ([]byte, []int) { + return fileDescriptor_b5f21cab13267c05, []int{1} +} +func (m *ModifyContractEvent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ModifyContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ModifyContractEvent.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ModifyContractEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_ModifyContractEvent.Merge(m, src) +} +func (m *ModifyContractEvent) XXX_Size() int { + return m.Size() +} +func (m *ModifyContractEvent) XXX_DiscardUnknown() { + xxx_messageInfo_ModifyContractEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_ModifyContractEvent proto.InternalMessageInfo + +func (m *ModifyContractEvent) GetModuleName() string { + if m != nil { + return m.ModuleName + } + return "" +} + +func (m *ModifyContractEvent) GetContractAddress() string { + if m != nil { + return m.ContractAddress + } + return "" +} + +func (m *ModifyContractEvent) GetNewExecutionType() ExecutionType { + if m != nil { + return m.NewExecutionType + } + return ExecutionType_BEGIN_BLOCK +} + +func (m *ModifyContractEvent) GetNewBlockFrequency() int64 { + if m != nil { + return m.NewBlockFrequency + } + return 0 +} + +// This event is executed when a contract is removed using MsgRemoveContractProposal +type RemoveContractEvent struct { + ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` + ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + RefundAccount string `protobuf:"bytes,3,opt,name=refund_account,json=refundAccount,proto3" json:"refund_account,omitempty"` + RefundAmount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=refund_amount,json=refundAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"refund_amount"` +} + +func (m *RemoveContractEvent) Reset() { *m = RemoveContractEvent{} } +func (m *RemoveContractEvent) String() string { return proto.CompactTextString(m) } +func (*RemoveContractEvent) ProtoMessage() {} +func (*RemoveContractEvent) Descriptor() ([]byte, []int) { + return fileDescriptor_b5f21cab13267c05, []int{2} +} +func (m *RemoveContractEvent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveContractEvent.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveContractEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveContractEvent.Merge(m, src) +} +func (m *RemoveContractEvent) XXX_Size() int { + return m.Size() +} +func (m *RemoveContractEvent) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveContractEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveContractEvent proto.InternalMessageInfo + +func (m *RemoveContractEvent) GetModuleName() string { + if m != nil { + return m.ModuleName + } + return "" +} + +func (m *RemoveContractEvent) GetContractAddress() string { + if m != nil { + return m.ContractAddress + } + return "" +} + +func (m *RemoveContractEvent) GetRefundAccount() string { + if m != nil { + return m.RefundAccount + } + return "" +} + +// This event is executed when a contract is funded using MsgFundExistentContract +type FundExistentContractEvent struct { + ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` + ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + SenderAddress string `protobuf:"bytes,3,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` + DepositAmount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=deposit_amount,json=depositAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"deposit_amount"` } -func (m *ContractDeleteEvent) Reset() { *m = ContractDeleteEvent{} } -func (m *ContractDeleteEvent) String() string { return proto.CompactTextString(m) } -func (*ContractDeleteEvent) ProtoMessage() {} -func (*ContractDeleteEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_3208364976a7e08c, []int{0} +func (m *FundExistentContractEvent) Reset() { *m = FundExistentContractEvent{} } +func (m *FundExistentContractEvent) String() string { return proto.CompactTextString(m) } +func (*FundExistentContractEvent) ProtoMessage() {} +func (*FundExistentContractEvent) Descriptor() ([]byte, []int) { + return fileDescriptor_b5f21cab13267c05, []int{3} } -func (m *ContractDeleteEvent) XXX_Unmarshal(b []byte) error { +func (m *FundExistentContractEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ContractDeleteEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *FundExistentContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ContractDeleteEvent.Marshal(b, m, deterministic) + return xxx_messageInfo_FundExistentContractEvent.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -50,32 +256,40 @@ func (m *ContractDeleteEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *ContractDeleteEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContractDeleteEvent.Merge(m, src) +func (m *FundExistentContractEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_FundExistentContractEvent.Merge(m, src) } -func (m *ContractDeleteEvent) XXX_Size() int { +func (m *FundExistentContractEvent) XXX_Size() int { return m.Size() } -func (m *ContractDeleteEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ContractDeleteEvent.DiscardUnknown(m) +func (m *FundExistentContractEvent) XXX_DiscardUnknown() { + xxx_messageInfo_FundExistentContractEvent.DiscardUnknown(m) } -var xxx_messageInfo_ContractDeleteEvent proto.InternalMessageInfo +var xxx_messageInfo_FundExistentContractEvent proto.InternalMessageInfo -func (m *ContractDeleteEvent) GetModuleName() string { +func (m *FundExistentContractEvent) GetModuleName() string { if m != nil { return m.ModuleName } return "" } -func (m *ContractDeleteEvent) GetContractAddress() string { +func (m *FundExistentContractEvent) GetContractAddress() string { if m != nil { return m.ContractAddress } return "" } +func (m *FundExistentContractEvent) GetSenderAddress() string { + if m != nil { + return m.SenderAddress + } + return "" +} + +// This event is executed each time a contract returns an error and it's striked type ContractStrikeEvent struct { ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` @@ -87,7 +301,7 @@ func (m *ContractStrikeEvent) Reset() { *m = ContractStrikeEvent{} } func (m *ContractStrikeEvent) String() string { return proto.CompactTextString(m) } func (*ContractStrikeEvent) ProtoMessage() {} func (*ContractStrikeEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_3208364976a7e08c, []int{1} + return fileDescriptor_b5f21cab13267c05, []int{4} } func (m *ContractStrikeEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -144,37 +358,117 @@ func (m *ContractStrikeEvent) GetStrikeReason() string { return "" } +// This event is executed when a contract reaches the maximum number of strikes +// the contract is removed and the funds are burn +type ForceRemoveContractEvent struct { + ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` + ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` +} + +func (m *ForceRemoveContractEvent) Reset() { *m = ForceRemoveContractEvent{} } +func (m *ForceRemoveContractEvent) String() string { return proto.CompactTextString(m) } +func (*ForceRemoveContractEvent) ProtoMessage() {} +func (*ForceRemoveContractEvent) Descriptor() ([]byte, []int) { + return fileDescriptor_b5f21cab13267c05, []int{5} +} +func (m *ForceRemoveContractEvent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ForceRemoveContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ForceRemoveContractEvent.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ForceRemoveContractEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_ForceRemoveContractEvent.Merge(m, src) +} +func (m *ForceRemoveContractEvent) XXX_Size() int { + return m.Size() +} +func (m *ForceRemoveContractEvent) XXX_DiscardUnknown() { + xxx_messageInfo_ForceRemoveContractEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_ForceRemoveContractEvent proto.InternalMessageInfo + +func (m *ForceRemoveContractEvent) GetModuleName() string { + if m != nil { + return m.ModuleName + } + return "" +} + +func (m *ForceRemoveContractEvent) GetContractAddress() string { + if m != nil { + return m.ContractAddress + } + return "" +} + func init() { - proto.RegisterType((*ContractDeleteEvent)(nil), "cosmwasmlifecycle.ContractDeleteEvent") - proto.RegisterType((*ContractStrikeEvent)(nil), "cosmwasmlifecycle.ContractStrikeEvent") -} - -func init() { proto.RegisterFile("cosmwasmlifecycle/events.proto", fileDescriptor_3208364976a7e08c) } - -var fileDescriptor_3208364976a7e08c = []byte{ - // 296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x91, 0xbf, 0x4e, 0xc3, 0x30, - 0x18, 0xc4, 0x63, 0x8a, 0x90, 0x30, 0x94, 0x3f, 0x81, 0x21, 0x30, 0x98, 0xaa, 0x08, 0xa9, 0x4b, - 0x9b, 0x81, 0x05, 0x36, 0x68, 0x61, 0x65, 0x08, 0x5b, 0x97, 0xc8, 0x75, 0x3e, 0x4a, 0x44, 0x6c, - 0x57, 0xb6, 0x53, 0xa8, 0x78, 0x09, 0x1e, 0x86, 0x77, 0x80, 0xb1, 0x62, 0x62, 0x44, 0xc9, 0x8b, - 0xa0, 0xd8, 0xa9, 0x3a, 0x74, 0xef, 0xe8, 0xdf, 0xdd, 0xe7, 0x3b, 0xe9, 0x30, 0x61, 0x52, 0xf3, - 0x57, 0xaa, 0x79, 0x96, 0x3e, 0x01, 0x9b, 0xb1, 0x0c, 0x42, 0x98, 0x82, 0x30, 0xba, 0x37, 0x51, - 0xd2, 0x48, 0xff, 0x70, 0x45, 0x3f, 0x3d, 0xa9, 0x90, 0xd4, 0xb1, 0x35, 0x84, 0xee, 0xe1, 0xdc, - 0xed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x00, -} - -func (m *ContractDeleteEvent) Marshal() (dAtA []byte, err error) { + proto.RegisterType((*RegisterContractEvent)(nil), "emidev98.cosmwasmlifecycle.RegisterContractEvent") + proto.RegisterType((*ModifyContractEvent)(nil), "emidev98.cosmwasmlifecycle.ModifyContractEvent") + proto.RegisterType((*RemoveContractEvent)(nil), "emidev98.cosmwasmlifecycle.RemoveContractEvent") + proto.RegisterType((*FundExistentContractEvent)(nil), "emidev98.cosmwasmlifecycle.FundExistentContractEvent") + proto.RegisterType((*ContractStrikeEvent)(nil), "emidev98.cosmwasmlifecycle.ContractStrikeEvent") + proto.RegisterType((*ForceRemoveContractEvent)(nil), "emidev98.cosmwasmlifecycle.ForceRemoveContractEvent") +} + +func init() { + proto.RegisterFile("emidev98/cosmwasmlifecycle/events.proto", fileDescriptor_b5f21cab13267c05) +} + +var fileDescriptor_b5f21cab13267c05 = []byte{ + // 617 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x95, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0xc7, 0xe3, 0xa4, 0xbf, 0x9f, 0xd4, 0x6d, 0xed, 0x16, 0xa7, 0x48, 0x6e, 0x0f, 0x6e, 0x14, + 0x84, 0x1a, 0x0e, 0xb5, 0xd5, 0x72, 0x81, 0x13, 0x34, 0xa5, 0xbd, 0x81, 0x90, 0x41, 0x42, 0xea, + 0xc5, 0x72, 0xd6, 0x93, 0x60, 0x35, 0xde, 0x4d, 0x77, 0xd7, 0xf9, 0x73, 0xe3, 0xc0, 0x03, 0xf0, + 0x22, 0xdc, 0xe0, 0x19, 0xe8, 0xb1, 0xe2, 0x84, 0x38, 0x54, 0x28, 0x79, 0x00, 0x5e, 0x01, 0x79, + 0x77, 0x4d, 0x93, 0x16, 0x8a, 0x90, 0x80, 0x9c, 0x92, 0xfd, 0xee, 0xcc, 0x77, 0x66, 0x3f, 0xeb, + 0xd5, 0xa0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 0xdf, + 0x97, 0xd1, 0xfa, 0x61, 0x46, 0xe2, 0x83, 0x61, 0xfe, 0x56, 0x89, 0x98, 0x13, 0x35, 0x0e, 0x24, + 0x06, 0xf6, 0xdd, 0xe2, 0x97, 0xd4, 0x54, 0x7c, 0x61, 0x70, 0x82, 0x2c, 0xfd, 0xc8, 0xff, 0x1e, + 0x36, 0x53, 0x57, 0xd0, 0xdc, 0x3e, 0x18, 0xa8, 0x5a, 0xb0, 0xca, 0x9b, 0x3a, 0x86, 0x7f, 0x49, + 0xec, 0x36, 0xb2, 0x70, 0xc6, 0x18, 0x10, 0x11, 0x72, 0x59, 0x5c, 0x12, 0xab, 0x04, 0xa6, 0x56, + 0x55, 0x47, 0xf6, 0x2d, 0x64, 0xaa, 0xed, 0x90, 0x41, 0xc4, 0x29, 0x91, 0x58, 0x16, 0x83, 0x65, + 0x25, 0x06, 0x52, 0xab, 0xbf, 0x32, 0x90, 0x73, 0x48, 0x19, 0x86, 0xb9, 0x3d, 0x9b, 0xe6, 0xd1, + 0xe9, 0xd8, 0x35, 0xce, 0xc6, 0xae, 0xf1, 0x65, 0xec, 0x1a, 0x6f, 0x26, 0x6e, 0xe9, 0x6c, 0xe2, + 0x96, 0x3e, 0x4d, 0xdc, 0xd2, 0xd1, 0xc3, 0xa9, 0xeb, 0xb9, 0x32, 0x99, 0xb6, 0x2f, 0x46, 0xd3, + 0xf0, 0x07, 0xe3, 0x4a, 0x5e, 0x5e, 0xeb, 0x7f, 0x39, 0x90, 0xee, 0x7e, 0x0b, 0x00, 0x00, 0xff, + 0xff, 0x53, 0xaa, 0x8b, 0xce, 0x59, 0x07, 0x00, 0x00, +} + +func (m *RegisterContractEvent) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -184,16 +478,36 @@ func (m *ContractDeleteEvent) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContractDeleteEvent) MarshalTo(dAtA []byte) (int, error) { +func (m *RegisterContractEvent) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContractDeleteEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RegisterContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.BlockFrequency != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockFrequency)) + i-- + dAtA[i] = 0x28 + } + if m.ExecutionType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.ExecutionType)) + i-- + dAtA[i] = 0x20 + } + { + size := m.ContractDeposit.Size() + i -= size + if _, err := m.ContractDeposit.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a if len(m.ContractAddress) > 0 { i -= len(m.ContractAddress) copy(dAtA[i:], m.ContractAddress) @@ -211,7 +525,7 @@ func (m *ContractDeleteEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ContractStrikeEvent) Marshal() (dAtA []byte, err error) { +func (m *ModifyContractEvent) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -221,25 +535,23 @@ func (m *ContractStrikeEvent) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ContractStrikeEvent) MarshalTo(dAtA []byte) (int, error) { +func (m *ModifyContractEvent) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ContractStrikeEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ModifyContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.StrikeReason) > 0 { - i -= len(m.StrikeReason) - copy(dAtA[i:], m.StrikeReason) - i = encodeVarintEvents(dAtA, i, uint64(len(m.StrikeReason))) + if m.NewBlockFrequency != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.NewBlockFrequency)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if m.CurrentStrike != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.CurrentStrike)) + if m.NewExecutionType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.NewExecutionType)) i-- dAtA[i] = 0x18 } @@ -260,65 +572,869 @@ func (m *ContractStrikeEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { - offset -= sovEvents(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *RemoveContractEvent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *ContractDeleteEvent) Size() (n int) { - if m == nil { - return 0 + +func (m *RemoveContractEvent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RemoveContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.RefundAmount.Size() + i -= size + if _, err := m.RefundAmount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.RefundAccount) > 0 { + i -= len(m.RefundAccount) + copy(dAtA[i:], m.RefundAccount) + i = encodeVarintEvents(dAtA, i, uint64(len(m.RefundAccount))) + i-- + dAtA[i] = 0x1a + } + if len(m.ContractAddress) > 0 { + i -= len(m.ContractAddress) + copy(dAtA[i:], m.ContractAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ContractAddress))) + i-- + dAtA[i] = 0x12 + } + if len(m.ModuleName) > 0 { + i -= len(m.ModuleName) + copy(dAtA[i:], m.ModuleName) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ModuleName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FundExistentContractEvent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *FundExistentContractEvent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FundExistentContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ModuleName) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + { + size := m.DepositAmount.Size() + i -= size + if _, err := m.DepositAmount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) } - l = len(m.ContractAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + i-- + dAtA[i] = 0x22 + if len(m.SenderAddress) > 0 { + i -= len(m.SenderAddress) + copy(dAtA[i:], m.SenderAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.SenderAddress))) + i-- + dAtA[i] = 0x1a + } + if len(m.ContractAddress) > 0 { + i -= len(m.ContractAddress) + copy(dAtA[i:], m.ContractAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ContractAddress))) + i-- + dAtA[i] = 0x12 + } + if len(m.ModuleName) > 0 { + i -= len(m.ModuleName) + copy(dAtA[i:], m.ModuleName) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ModuleName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ContractStrikeEvent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ContractStrikeEvent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContractStrikeEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StrikeReason) > 0 { + i -= len(m.StrikeReason) + copy(dAtA[i:], m.StrikeReason) + i = encodeVarintEvents(dAtA, i, uint64(len(m.StrikeReason))) + i-- + dAtA[i] = 0x22 + } + if m.CurrentStrike != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.CurrentStrike)) + i-- + dAtA[i] = 0x18 + } + if len(m.ContractAddress) > 0 { + i -= len(m.ContractAddress) + copy(dAtA[i:], m.ContractAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ContractAddress))) + i-- + dAtA[i] = 0x12 + } + if len(m.ModuleName) > 0 { + i -= len(m.ModuleName) + copy(dAtA[i:], m.ModuleName) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ModuleName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ForceRemoveContractEvent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ForceRemoveContractEvent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ForceRemoveContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ContractAddress) > 0 { + i -= len(m.ContractAddress) + copy(dAtA[i:], m.ContractAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ContractAddress))) + i-- + dAtA[i] = 0x12 + } + if len(m.ModuleName) > 0 { + i -= len(m.ModuleName) + copy(dAtA[i:], m.ModuleName) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ModuleName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { + offset -= sovEvents(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *RegisterContractEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ModuleName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.ContractDeposit.Size() + n += 1 + l + sovEvents(uint64(l)) + if m.ExecutionType != 0 { + n += 1 + sovEvents(uint64(m.ExecutionType)) + } + if m.BlockFrequency != 0 { + n += 1 + sovEvents(uint64(m.BlockFrequency)) + } + return n +} + +func (m *ModifyContractEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ModuleName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.NewExecutionType != 0 { + n += 1 + sovEvents(uint64(m.NewExecutionType)) + } + if m.NewBlockFrequency != 0 { + n += 1 + sovEvents(uint64(m.NewBlockFrequency)) + } + return n +} + +func (m *RemoveContractEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ModuleName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.RefundAccount) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.RefundAmount.Size() + n += 1 + l + sovEvents(uint64(l)) + return n +} + +func (m *FundExistentContractEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ModuleName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.SenderAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.DepositAmount.Size() + n += 1 + l + sovEvents(uint64(l)) + return n +} + +func (m *ContractStrikeEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ModuleName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.CurrentStrike != 0 { + n += 1 + sovEvents(uint64(m.CurrentStrike)) + } + l = len(m.StrikeReason) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *ForceRemoveContractEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ModuleName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func sovEvents(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozEvents(x uint64) (n int) { + return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *RegisterContractEvent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RegisterContractEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RegisterContractEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ModuleName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ModuleName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractDeposit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ContractDeposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionType", wireType) + } + m.ExecutionType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ExecutionType |= ExecutionType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockFrequency", wireType) + } + m.BlockFrequency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockFrequency |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ModifyContractEvent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ModifyContractEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ModifyContractEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ModuleName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ModuleName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NewExecutionType", wireType) + } + m.NewExecutionType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NewExecutionType |= ExecutionType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NewBlockFrequency", wireType) + } + m.NewBlockFrequency = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NewBlockFrequency |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RemoveContractEvent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveContractEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveContractEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ModuleName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ModuleName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RefundAccount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RefundAccount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RefundAmount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.RefundAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *ContractStrikeEvent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ModuleName) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - l = len(m.ContractAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.CurrentStrike != 0 { - n += 1 + sovEvents(uint64(m.CurrentStrike)) - } - l = len(m.StrikeReason) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n -} - -func sovEvents(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozEvents(x uint64) (n int) { - return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *ContractDeleteEvent) Unmarshal(dAtA []byte) error { +func (m *FundExistentContractEvent) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -341,10 +1457,10 @@ func (m *ContractDeleteEvent) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ContractDeleteEvent: wiretype end group for non-group") + return fmt.Errorf("proto: FundExistentContractEvent: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ContractDeleteEvent: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FundExistentContractEvent: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -411,6 +1527,71 @@ func (m *ContractDeleteEvent) Unmarshal(dAtA []byte) error { } m.ContractAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SenderAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SenderAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DepositAmount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.DepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipEvents(dAtA[iNdEx:]) @@ -597,6 +1778,120 @@ func (m *ContractStrikeEvent) Unmarshal(dAtA []byte) error { } return nil } +func (m *ForceRemoveContractEvent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ForceRemoveContractEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ForceRemoveContractEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ModuleName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ModuleName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipEvents(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/cosmwasmlifecycle/types/execution_type.pb.go b/x/cosmwasmlifecycle/types/execution_type.pb.go index b499562..bd6c3fc 100644 --- a/x/cosmwasmlifecycle/types/execution_type.pb.go +++ b/x/cosmwasmlifecycle/types/execution_type.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmwasmlifecycle/execution_type.proto +// source: emidev98/cosmwasmlifecycle/execution_type.proto package types @@ -45,7 +45,7 @@ func (x ExecutionType) String() string { } func (ExecutionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3845c7938ab27315, []int{0} + return fileDescriptor_364dfa1125d274ba, []int{0} } type ExecutionTypeOperation int32 @@ -70,32 +70,32 @@ func (x ExecutionTypeOperation) String() string { } func (ExecutionTypeOperation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3845c7938ab27315, []int{1} + return fileDescriptor_364dfa1125d274ba, []int{1} } func init() { - proto.RegisterEnum("cosmwasmlifecycle.ExecutionType", ExecutionType_name, ExecutionType_value) - proto.RegisterEnum("cosmwasmlifecycle.ExecutionTypeOperation", ExecutionTypeOperation_name, ExecutionTypeOperation_value) + proto.RegisterEnum("emidev98.cosmwasmlifecycle.ExecutionType", ExecutionType_name, ExecutionType_value) + proto.RegisterEnum("emidev98.cosmwasmlifecycle.ExecutionTypeOperation", ExecutionTypeOperation_name, ExecutionTypeOperation_value) } func init() { - proto.RegisterFile("cosmwasmlifecycle/execution_type.proto", fileDescriptor_3845c7938ab27315) + proto.RegisterFile("emidev98/cosmwasmlifecycle/execution_type.proto", fileDescriptor_364dfa1125d274ba) } -var fileDescriptor_3845c7938ab27315 = []byte{ - // 221 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0xce, 0x2f, 0xce, - 0x2d, 0x4f, 0x2c, 0xce, 0xcd, 0xc9, 0x4c, 0x4b, 0x4d, 0xae, 0x4c, 0xce, 0x49, 0xd5, 0x4f, 0xad, - 0x48, 0x4d, 0x2e, 0x2d, 0xc9, 0xcc, 0xcf, 0x8b, 0x2f, 0xa9, 0x2c, 0x48, 0xd5, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0x12, 0xc4, 0x50, 0xa7, 0xe5, 0xc1, 0xc5, 0xeb, 0x0a, 0x53, 0x1a, 0x52, 0x59, - 0x90, 0x2a, 0xc4, 0xcf, 0xc5, 0xed, 0xe4, 0xea, 0xee, 0xe9, 0x17, 0xef, 0xe4, 0xe3, 0xef, 0xec, - 0x2d, 0xc0, 0x20, 0xc4, 0xcb, 0xc5, 0xe9, 0xea, 0xe7, 0x02, 0xe5, 0x32, 0x0a, 0x89, 0x73, 0x09, - 0x43, 0xe4, 0x1d, 0xfd, 0x5c, 0xe2, 0x11, 0x12, 0x4c, 0x5a, 0x86, 0x5c, 0x62, 0x28, 0x26, 0xf9, - 0x17, 0xa4, 0x16, 0x25, 0x82, 0x38, 0x42, 0x5c, 0x5c, 0x6c, 0xae, 0x7e, 0x8e, 0x4e, 0x3e, 0xae, - 0x02, 0x0c, 0x42, 0xdc, 0x5c, 0xec, 0x2e, 0x9e, 0xc1, 0x60, 0x0e, 0xa3, 0x53, 0xd4, 0x89, 0x47, - 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, - 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x39, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, - 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe6, 0x66, 0xa6, 0xa4, 0x96, 0x59, 0x5a, 0xe8, 0xc3, 0x5c, 0xaf, - 0x8b, 0xf0, 0x66, 0x85, 0x3e, 0xa6, 0xd7, 0x41, 0x1e, 0x2e, 0x4e, 0x62, 0x03, 0x7b, 0xd9, 0x18, - 0x10, 0x00, 0x00, 0xff, 0xff, 0xc3, 0xc3, 0x9b, 0x4e, 0x1c, 0x01, 0x00, 0x00, +var fileDescriptor_364dfa1125d274ba = []byte{ + // 223 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,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e7, 0xe7, 0x62, + 0x7a, 0x57, 0x17, 0xe1, 0xdf, 0x0a, 0x2c, 0x61, 0x00, 0xf2, 0x79, 0x71, 0x12, 0x1b, 0xd8, 0xef, + 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x22, 0x67, 0xd1, 0x2e, 0x01, 0x00, 0x00, } diff --git a/x/cosmwasmlifecycle/types/genesis.pb.go b/x/cosmwasmlifecycle/types/genesis.pb.go index 41c2258..4b0ce77 100644 --- a/x/cosmwasmlifecycle/types/genesis.pb.go +++ b/x/cosmwasmlifecycle/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmwasmlifecycle/genesis.proto +// source: emidev98/cosmwasmlifecycle/genesis.proto package types @@ -36,7 +36,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_b4e03ab585a90b99, []int{0} + return fileDescriptor_8c4f5cfcbf283af9, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,30 +80,32 @@ func (m *GenesisState) GetContracts() []*Contract { } func init() { - proto.RegisterType((*GenesisState)(nil), "cosmwasmlifecycle.GenesisState") + proto.RegisterType((*GenesisState)(nil), "emidev98.cosmwasmlifecycle.GenesisState") } -func init() { proto.RegisterFile("cosmwasmlifecycle/genesis.proto", fileDescriptor_b4e03ab585a90b99) } +func init() { + proto.RegisterFile("emidev98/cosmwasmlifecycle/genesis.proto", fileDescriptor_8c4f5cfcbf283af9) +} -var fileDescriptor_b4e03ab585a90b99 = []byte{ - // 268 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce, - 0x2d, 0x4f, 0x2c, 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 0xc3, 0x85, 0xc7, 0x72, 0x0c, - 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x39, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, - 0xea, 0xa7, 0xe6, 0x66, 0xa6, 0xa4, 0x96, 0x59, 0x5a, 0xe8, 0xc3, 0xac, 0xd3, 0x45, 0xf8, 0xb7, - 0x42, 0x1f, 0x33, 0x0c, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x21, 0x60, 0x0c, 0x08, - 0x00, 0x00, 0xff, 0xff, 0x87, 0xd0, 0xbc, 0xe4, 0xaa, 0x01, 0x00, 0x00, +var fileDescriptor_8c4f5cfcbf283af9 = []byte{ + // 272 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x48, 0xcd, 0xcd, 0x4c, + 0x49, 0x2d, 0xb3, 0xb4, 0xd0, 0x4f, 0xce, 0x2f, 0xce, 0x2d, 0x4f, 0x2c, 0xce, 0xcd, 0xc9, 0x4c, + 0x4b, 0x4d, 0xae, 0x4c, 0xce, 0x49, 0xd5, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, + 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x82, 0xa9, 0xd4, 0xc3, 0x50, 0x29, 0x25, 0x92, 0x9e, 0x9f, + 0x9e, 0x0f, 0x56, 0xa6, 0x0f, 0x62, 0x41, 0x74, 0x48, 0x49, 0x82, 0x14, 0xe6, 0x17, 0xc7, 0x43, + 0x24, 0x20, 0x1c, 0xa8, 0x94, 0x3a, 0x1e, 0x6b, 0x0b, 0x12, 0x8b, 0x12, 0x73, 0x61, 0x0a, 0x35, + 0xf1, 0x28, 0x4c, 0xce, 0xcf, 0x2b, 0x29, 0x4a, 0x4c, 0x2e, 0x81, 0x28, 0x55, 0x5a, 0xc7, 0xc8, + 0xc5, 0xe3, 0x0e, 0x71, 0x72, 0x70, 0x49, 0x62, 0x49, 0xaa, 0x90, 0x03, 0x17, 0x1b, 0xc4, 0x2c, + 0x09, 0x46, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x25, 0x3d, 0xdc, 0x5e, 0xd0, 0x0b, 0x00, 0xab, 0x74, + 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xaa, 0x4f, 0x28, 0x86, 0x8b, 0x13, 0x66, 0x49, 0xb1, + 0x04, 0x93, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0x0a, 0x3e, 0x43, 0x9c, 0xa1, 0x8a, 0x9d, 0x24, 0x2e, + 0x6d, 0xd1, 0x15, 0x81, 0xfa, 0xd8, 0x31, 0x25, 0xa5, 0x28, 0xb5, 0xb8, 0x38, 0xb8, 0xa4, 0x28, + 0x33, 0x2f, 0x3d, 0x08, 0x61, 0xa0, 0x53, 0xd4, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, + 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, + 0x31, 0x44, 0x39, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x63, 0x04, + 0x80, 0x2e, 0x22, 0x04, 0x2a, 0xb0, 0x84, 0x4a, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, + 0x4c, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x16, 0x83, 0x14, 0x80, 0xe0, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/cosmwasmlifecycle/types/params.pb.go b/x/cosmwasmlifecycle/types/params.pb.go index f718f28..9102ee2 100644 --- a/x/cosmwasmlifecycle/types/params.pb.go +++ b/x/cosmwasmlifecycle/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmwasmlifecycle/params.proto +// source: emidev98/cosmwasmlifecycle/params.proto package types @@ -42,7 +42,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_d96aa1bf4f8b3eba, []int{0} + return fileDescriptor_6b6e3b283a64fc74, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -86,34 +86,36 @@ func (m *Params) GetStrikesToDisableExecution() int64 { } func init() { - proto.RegisterType((*Params)(nil), "cosmwasmlifecycle.Params") + proto.RegisterType((*Params)(nil), "emidev98.cosmwasmlifecycle.Params") } -func init() { proto.RegisterFile("cosmwasmlifecycle/params.proto", fileDescriptor_d96aa1bf4f8b3eba) } +func init() { + proto.RegisterFile("emidev98/cosmwasmlifecycle/params.proto", fileDescriptor_6b6e3b283a64fc74) +} -var fileDescriptor_d96aa1bf4f8b3eba = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xbf, 0x4e, 0x32, 0x41, - 0x14, 0xc5, 0x77, 0x3e, 0xbe, 0x10, 0x1d, 0x2a, 0x37, 0x16, 0x40, 0x74, 0x20, 0x36, 0xd2, 0xb0, - 0x13, 0xb4, 0x51, 0x1b, 0x0d, 0x42, 0x6f, 0x88, 0x15, 0xcd, 0x66, 0xff, 0x8c, 0x78, 0x03, 0xb3, - 0x77, 0xc3, 0x1d, 0x10, 0xde, 0xc2, 0xd2, 0xd2, 0xc7, 0xa1, 0xa4, 0x34, 0x9a, 0x10, 0x03, 0x2f, - 0x62, 0xd8, 0x59, 0xa2, 0x09, 0xd5, 0x4c, 0xee, 0x39, 0xf7, 0x97, 0x93, 0x73, 0xb9, 0x88, 0x90, - 0xf4,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 0x05, 0x5b, 0xae, 0x05, 0xfb, 0x5e, 0x0b, 0xf6, - 0xba, 0x11, 0xce, 0x72, 0x23, 0x9c, 0x8f, 0x8d, 0x70, 0xfa, 0x77, 0x7f, 0x52, 0x29, 0x0d, 0xb1, - 0x9a, 0x5e, 0x5f, 0xc9, 0x5d, 0xa9, 0xcd, 0xdf, 0xd6, 0x67, 0x72, 0xff, 0x12, 0x59, 0xe6, 0xb0, - 0x98, 0x15, 0x78, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0x77, 0x33, 0x57, 0x6e, 0xab, 0x01, 0x00, - 0x00, +var fileDescriptor_6b6e3b283a64fc74 = []byte{ + // 323 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x3f, 0x4f, 0x02, 0x31, + 0x18, 0xc6, 0xaf, 0x62, 0x88, 0x96, 0xed, 0xe2, 0x00, 0x44, 0x0b, 0x71, 0x81, 0x85, 0x36, 0xe8, + 0xa2, 0x2e, 0x1a, 0x84, 0xdd, 0x10, 0x27, 0x96, 0xcb, 0xfd, 0xa9, 0xd8, 0x40, 0xef, 0xbd, 0xf0, + 0x16, 0x84, 0x6f, 0xe1, 0xe8, 0xe8, 0xc7, 0x61, 0x64, 0x34, 0x9a, 0x10, 0x03, 0x5f, 0xc4, 0xdc, + 0xf5, 0x88, 0x26, 0x38, 0xb5, 0x69, 0x7f, 0xef, 0xd3, 0x5f, 0x9e, 0xd2, 0x86, 0xd4, 0x2a, 0x92, + 0xb3, 0xeb, 0x2b, 0x11, 0x02, 0xea, 0x17, 0x1f, 0xf5, 0x58, 0x3d, 0xc9, 0x70, 0x11, 0x8e, 0xa5, + 0x48, 0xfc, 0x89, 0xaf, 0x91, 0x27, 0x13, 0x30, 0xe0, 0x56, 0x77, 0x20, 0xdf, 0x03, 0xab, 0x27, + 0x43, 0x18, 0x42, 0x86, 0x89, 0x74, 0x67, 0x27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, 0x7f, 0xbe, 0x24, 0x73, + 0x0e, 0x8a, 0x59, 0x81, 0x97, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x62, 0x61, 0xb1, 0xbd, 0xbd, + 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/cosmwasmlifecycle/types/query.pb.go b/x/cosmwasmlifecycle/types/query.pb.go index 370b0d6..1a54346 100644 --- a/x/cosmwasmlifecycle/types/query.pb.go +++ b/x/cosmwasmlifecycle/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmwasmlifecycle/query.proto +// source: emidev98/cosmwasmlifecycle/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cd5a0233d17791d5, []int{0} + return fileDescriptor_147c8839c037074d, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +77,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cd5a0233d17791d5, []int{1} + return fileDescriptor_147c8839c037074d, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -114,33 +114,36 @@ func (m *QueryParamsResponse) GetParams() Params { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "cosmwasmlifecycle.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "cosmwasmlifecycle.QueryParamsResponse") -} - -func init() { proto.RegisterFile("cosmwasmlifecycle/query.proto", fileDescriptor_cd5a0233d17791d5) } - -var fileDescriptor_cd5a0233d17791d5 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0xce, 0x2f, 0xce, - 0x2d, 0x4f, 0x2c, 0xce, 0xcd, 0xc9, 0x4c, 0x4b, 0x4d, 0xae, 0x4c, 0xce, 0x49, 0xd5, 0x2f, 0x2c, - 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0xc4, 0x90, 0x96, 0x12, 0x49, - 0xcf, 0x4f, 0xcf, 0x07, 0xcb, 0xea, 0x83, 0x58, 0x10, 0x85, 0x52, 0x32, 0xe9, 0xf9, 0xf9, 0xe9, - 0x39, 0xa9, 0xfa, 0x89, 0x05, 0x99, 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x89, 0x25, 0x99, 0xf9, - 0x79, 0xc5, 0x50, 0x59, 0x2d, 0x90, 0x31, 0xf9, 0xc5, 0xfa, 0x49, 0x89, 0xc5, 0x50, 0xf3, 0xf5, - 0xcb, 0x0c, 0x93, 0x52, 0x4b, 0x12, 0x0d, 0xf5, 0x0b, 0x12, 0xd3, 0x33, 0xf3, 0xc0, 0x8a, 0xa1, - 0x6a, 0xe5, 0x30, 0x5d, 0x54, 0x90, 0x58, 0x94, 0x98, 0x0b, 0x35, 0x4b, 0x49, 0x84, 0x4b, 0x28, - 0x10, 0x64, 0x42, 0x00, 0x58, 0x30, 0x28, 0xb5, 0xb0, 0x34, 0xb5, 0xb8, 0x44, 0xc9, 0x8f, 0x4b, - 0x18, 0x45, 0xb4, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x55, 0xc8, 0x9c, 0x8b, 0x0d, 0xa2, 0x59, 0x82, - 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x52, 0x0f, 0xc3, 0x74, 0x3d, 0x88, 0x16, 0x27, 0x96, 0x13, - 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0xca, 0x8d, 0x9a, 0x19, 0xb9, 0x58, 0xc1, 0x06, 0x0a, 0x55, 0x71, - 0xb1, 0x41, 0x54, 0x08, 0xa9, 0x62, 0xd1, 0x8c, 0xe9, 0x14, 0x29, 0x35, 0x42, 0xca, 0x20, 0x6e, - 0x53, 0x52, 0x6c, 0xba, 0xfc, 0x64, 0x32, 0x93, 0xb4, 0x90, 0xa4, 0x3e, 0x2e, 0x1f, 0x3b, 0x45, - 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, - 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x43, 0x7a, 0x66, 0x49, 0x46, - 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x6a, 0x6e, 0x66, 0x4a, 0x6a, 0x99, 0xa5, 0x05, 0xdc, - 0x1c, 0x5d, 0x84, 0x41, 0x15, 0x58, 0x0c, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x07, - 0xa7, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xee, 0x04, 0x5f, 0x34, 0x02, 0x02, 0x00, 0x00, + proto.RegisterType((*QueryParamsRequest)(nil), "emidev98.cosmwasmlifecycle.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "emidev98.cosmwasmlifecycle.QueryParamsResponse") +} + +func init() { + proto.RegisterFile("emidev98/cosmwasmlifecycle/query.proto", fileDescriptor_147c8839c037074d) +} + +var fileDescriptor_147c8839c037074d = []byte{ + // 308 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x3f, 0x4b, 0x03, 0x31, + 0x18, 0xc6, 0x2f, 0xa2, 0x1d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 0x2f, 0xb2, 0x32, 0xdb, + 0x5d, 0x9d, 0xbd, 0xef, 0x7a, 0xbd, 0x2a, 0xd7, 0x7e, 0x41, 0x78, 0xad, 0x30, 0x93, 0x47, 0x84, + 0x1b, 0x25, 0x42, 0xd8, 0x32, 0x4d, 0x7d, 0x3b, 0x9f, 0xff, 0x9b, 0x2f, 0xf7, 0x0e, 0xf6, 0x1f, + 0x5e, 0x3f, 0x9f, 0x57, 0xb6, 0xc9, 0xd6, 0xc2, 0x36, 0xba, 0xfd, 0x59, 0x4a, 0xd1, 0x3c, 0xa5, + 0xe8, 0x23, 0xa5, 0xe8, 0x29, 0xa3, 0xde, 0x3c, 0xa3, 0xde, 0x5b, 0x46, 0xbd, 0x7e, 0x47, 0x69, + 0x77, 0x3b, 0x0e, 0x59, 0x04, 0x31, 0xaf, 0xb5, 0x7a, 0xf2, 0x23, 0xba, 0xff, 0x43, 0xee, 0xa6, + 0x46, 0xda, 0xb0, 0x51, 0x54, 0x7d, 0xfa, 0x15, 0x00, 0x00, 0xff, 0xff, 0x3b, 0xb4, 0xb3, 0x1e, + 0x39, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -169,7 +172,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/cosmwasmlifecycle.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/emidev98.cosmwasmlifecycle.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -204,7 +207,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmwasmlifecycle.Query/Params", + FullMethod: "/emidev98.cosmwasmlifecycle.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -213,7 +216,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cosmwasmlifecycle.Query", + ServiceName: "emidev98.cosmwasmlifecycle.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -222,7 +225,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cosmwasmlifecycle/query.proto", + Metadata: "emidev98/cosmwasmlifecycle/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/cosmwasmlifecycle/types/query.pb.gw.go b/x/cosmwasmlifecycle/types/query.pb.gw.go index 5ee574a..ca106d9 100644 --- a/x/cosmwasmlifecycle/types/query.pb.gw.go +++ b/x/cosmwasmlifecycle/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: cosmwasmlifecycle/query.proto +// source: emidev98/cosmwasmlifecycle/query.proto /* Package types is a reverse proxy. diff --git a/x/cosmwasmlifecycle/types/tx.pb.go b/x/cosmwasmlifecycle/types/tx.pb.go index 6d03288..62995b4 100644 --- a/x/cosmwasmlifecycle/types/tx.pb.go +++ b/x/cosmwasmlifecycle/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmwasmlifecycle/tx.proto +// source: emidev98/cosmwasmlifecycle/tx.proto package types @@ -52,7 +52,7 @@ func (m *MsgFundExistentContract) Reset() { *m = MsgFundExistentContract func (m *MsgFundExistentContract) String() string { return proto.CompactTextString(m) } func (*MsgFundExistentContract) ProtoMessage() {} func (*MsgFundExistentContract) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{0} + return fileDescriptor_65edfcca3a109444, []int{0} } func (m *MsgFundExistentContract) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -102,7 +102,7 @@ func (m *MsgFundExistentContractResponse) Reset() { *m = MsgFundExistent func (m *MsgFundExistentContractResponse) String() string { return proto.CompactTextString(m) } func (*MsgFundExistentContractResponse) ProtoMessage() {} func (*MsgFundExistentContractResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{1} + return fileDescriptor_65edfcca3a109444, []int{1} } func (m *MsgFundExistentContractResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -147,7 +147,7 @@ func (m *MsgUpdateParamsProposal) Reset() { *m = MsgUpdateParamsProposal func (m *MsgUpdateParamsProposal) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsProposal) ProtoMessage() {} func (*MsgUpdateParamsProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{2} + return fileDescriptor_65edfcca3a109444, []int{2} } func (m *MsgUpdateParamsProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -211,7 +211,7 @@ func (m *MsgUpdateParamsProposalResponse) Reset() { *m = MsgUpdateParams func (m *MsgUpdateParamsProposalResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsProposalResponse) ProtoMessage() {} func (*MsgUpdateParamsProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{3} + return fileDescriptor_65edfcca3a109444, []int{3} } func (m *MsgUpdateParamsProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -255,7 +255,7 @@ type MsgRegisterContractProposal struct { // address of the contract to enable its methods execution ContractAddr string `protobuf:"bytes,5,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"` // execution type to enable on begin, end block or both - ExecutionType ExecutionType `protobuf:"varint,6,opt,name=execution_type,json=executionType,proto3,enum=cosmwasmlifecycle.ExecutionType" json:"execution_type,omitempty"` + ExecutionType ExecutionType `protobuf:"varint,6,opt,name=execution_type,json=executionType,proto3,enum=emidev98.cosmwasmlifecycle.ExecutionType" json:"execution_type,omitempty"` // execution each block or every n blocks ExecutionBlocksFrequency int64 `protobuf:"varint,7,opt,name=execution_blocks_frequency,json=executionBlocksFrequency,proto3" json:"execution_blocks_frequency,omitempty"` } @@ -264,7 +264,7 @@ func (m *MsgRegisterContractProposal) Reset() { *m = MsgRegisterContract func (m *MsgRegisterContractProposal) String() string { return proto.CompactTextString(m) } func (*MsgRegisterContractProposal) ProtoMessage() {} func (*MsgRegisterContractProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{4} + return fileDescriptor_65edfcca3a109444, []int{4} } func (m *MsgRegisterContractProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -342,7 +342,7 @@ func (m *MsgRegisterContractProposalResponse) Reset() { *m = MsgRegister func (m *MsgRegisterContractProposalResponse) String() string { return proto.CompactTextString(m) } func (*MsgRegisterContractProposalResponse) ProtoMessage() {} func (*MsgRegisterContractProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{5} + return fileDescriptor_65edfcca3a109444, []int{5} } func (m *MsgRegisterContractProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -384,9 +384,9 @@ type MsgModifyContractProposal struct { // address of the contract to modify its execution params ContractAddr string `protobuf:"bytes,4,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"` // execution type begin block, end block or both - ExecutionType ExecutionType `protobuf:"varint,5,opt,name=execution_type,json=executionType,proto3,enum=cosmwasmlifecycle.ExecutionType" json:"execution_type,omitempty"` + ExecutionType ExecutionType `protobuf:"varint,5,opt,name=execution_type,json=executionType,proto3,enum=emidev98.cosmwasmlifecycle.ExecutionType" json:"execution_type,omitempty"` // ENABLE or DISABLE the execution type specified in the execution field - Operation ExecutionTypeOperation `protobuf:"varint,6,opt,name=operation,proto3,enum=cosmwasmlifecycle.ExecutionTypeOperation" json:"operation,omitempty"` + Operation ExecutionTypeOperation `protobuf:"varint,6,opt,name=operation,proto3,enum=emidev98.cosmwasmlifecycle.ExecutionTypeOperation" json:"operation,omitempty"` // execution each block or every n blocks ExecutionBlocksFrequency int64 `protobuf:"varint,7,opt,name=execution_blocks_frequency,json=executionBlocksFrequency,proto3" json:"execution_blocks_frequency,omitempty"` } @@ -395,7 +395,7 @@ func (m *MsgModifyContractProposal) Reset() { *m = MsgModifyContractProp func (m *MsgModifyContractProposal) String() string { return proto.CompactTextString(m) } func (*MsgModifyContractProposal) ProtoMessage() {} func (*MsgModifyContractProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{6} + return fileDescriptor_65edfcca3a109444, []int{6} } func (m *MsgModifyContractProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -480,7 +480,7 @@ func (m *MsgModifyContractProposalResponse) Reset() { *m = MsgModifyCont func (m *MsgModifyContractProposalResponse) String() string { return proto.CompactTextString(m) } func (*MsgModifyContractProposalResponse) ProtoMessage() {} func (*MsgModifyContractProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{7} + return fileDescriptor_65edfcca3a109444, []int{7} } func (m *MsgModifyContractProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -528,7 +528,7 @@ func (m *MsgRemoveContractProposal) Reset() { *m = MsgRemoveContractProp func (m *MsgRemoveContractProposal) String() string { return proto.CompactTextString(m) } func (*MsgRemoveContractProposal) ProtoMessage() {} func (*MsgRemoveContractProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{8} + return fileDescriptor_65edfcca3a109444, []int{8} } func (m *MsgRemoveContractProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -599,7 +599,7 @@ func (m *MsgRemoveContractProposalResponse) Reset() { *m = MsgRemoveCont func (m *MsgRemoveContractProposalResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveContractProposalResponse) ProtoMessage() {} func (*MsgRemoveContractProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5a8c9d0c2a02a50a, []int{9} + return fileDescriptor_65edfcca3a109444, []int{9} } func (m *MsgRemoveContractProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -629,73 +629,76 @@ func (m *MsgRemoveContractProposalResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRemoveContractProposalResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgFundExistentContract)(nil), "cosmwasmlifecycle.MsgFundExistentContract") - proto.RegisterType((*MsgFundExistentContractResponse)(nil), "cosmwasmlifecycle.MsgFundExistentContractResponse") - proto.RegisterType((*MsgUpdateParamsProposal)(nil), "cosmwasmlifecycle.MsgUpdateParamsProposal") - proto.RegisterType((*MsgUpdateParamsProposalResponse)(nil), "cosmwasmlifecycle.MsgUpdateParamsProposalResponse") - proto.RegisterType((*MsgRegisterContractProposal)(nil), "cosmwasmlifecycle.MsgRegisterContractProposal") - proto.RegisterType((*MsgRegisterContractProposalResponse)(nil), "cosmwasmlifecycle.MsgRegisterContractProposalResponse") - proto.RegisterType((*MsgModifyContractProposal)(nil), "cosmwasmlifecycle.MsgModifyContractProposal") - proto.RegisterType((*MsgModifyContractProposalResponse)(nil), "cosmwasmlifecycle.MsgModifyContractProposalResponse") - proto.RegisterType((*MsgRemoveContractProposal)(nil), "cosmwasmlifecycle.MsgRemoveContractProposal") - proto.RegisterType((*MsgRemoveContractProposalResponse)(nil), "cosmwasmlifecycle.MsgRemoveContractProposalResponse") -} - -func init() { proto.RegisterFile("cosmwasmlifecycle/tx.proto", fileDescriptor_5a8c9d0c2a02a50a) } - -var fileDescriptor_5a8c9d0c2a02a50a = []byte{ - // 808 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xdf, 0x4f, 0xd3, 0x40, - 0x1c, 0x5f, 0xd9, 0x18, 0xe1, 0x80, 0x89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xb1, 0xa3, 0x53, 0x3e, 0xf6, 0xf9, 0x94, 0x8f, 0xed, 0x3e, 0x0c, 0x5c, - 0x72, 0x50, 0xd7, 0x14, 0xd8, 0xb8, 0x77, 0x57, 0xf0, 0x4b, 0x2c, 0x77, 0xdf, 0x87, 0x4d, 0x21, - 0xe4, 0x79, 0xeb, 0x5c, 0x81, 0xd5, 0xa4, 0xfb, 0x3a, 0xbc, 0xf5, 0x23, 0x00, 0x00, 0xff, 0xff, - 0x91, 0x14, 0xd8, 0xb5, 0x00, 0x0b, 0x00, 0x00, + proto.RegisterType((*MsgFundExistentContract)(nil), "emidev98.cosmwasmlifecycle.MsgFundExistentContract") + proto.RegisterType((*MsgFundExistentContractResponse)(nil), "emidev98.cosmwasmlifecycle.MsgFundExistentContractResponse") + proto.RegisterType((*MsgUpdateParamsProposal)(nil), "emidev98.cosmwasmlifecycle.MsgUpdateParamsProposal") + proto.RegisterType((*MsgUpdateParamsProposalResponse)(nil), "emidev98.cosmwasmlifecycle.MsgUpdateParamsProposalResponse") + proto.RegisterType((*MsgRegisterContractProposal)(nil), "emidev98.cosmwasmlifecycle.MsgRegisterContractProposal") + proto.RegisterType((*MsgRegisterContractProposalResponse)(nil), "emidev98.cosmwasmlifecycle.MsgRegisterContractProposalResponse") + proto.RegisterType((*MsgModifyContractProposal)(nil), "emidev98.cosmwasmlifecycle.MsgModifyContractProposal") + proto.RegisterType((*MsgModifyContractProposalResponse)(nil), "emidev98.cosmwasmlifecycle.MsgModifyContractProposalResponse") + proto.RegisterType((*MsgRemoveContractProposal)(nil), "emidev98.cosmwasmlifecycle.MsgRemoveContractProposal") + proto.RegisterType((*MsgRemoveContractProposalResponse)(nil), "emidev98.cosmwasmlifecycle.MsgRemoveContractProposalResponse") +} + +func init() { + proto.RegisterFile("emidev98/cosmwasmlifecycle/tx.proto", fileDescriptor_65edfcca3a109444) +} + +var fileDescriptor_65edfcca3a109444 = []byte{ + // 824 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x8d, 0x9b, 0x9f, 0xaa, 0xd3, 0x36, 0x5f, 0xe5, 0x2f, 0x6a, 0xdd, 0x20, 0x25, 0x69, 0x2a, + 0xd4, 0x80, 0x54, 0x9b, 0xa6, 0xe2, 0xaf, 0x50, 0xd1, 0xa6, 0xb4, 0xbb, 0x40, 0x64, 0x60, 0xd3, + 0x4d, 0xe4, 0xd8, 0x13, 0xd7, 0x6a, 0xe2, 0x31, 0x9e, 0x71, 0x48, 0x76, 0x08, 0x09, 0xd4, 0x05, + 0x0b, 0x1e, 0xa1, 0x8f, 0x80, 0x50, 0x1f, 0x81, 0x45, 0x97, 0x15, 0x2b, 0x04, 0x52, 0x85, 0xda, + 0x05, 0x48, 0xbc, 0x04, 0xb2, 0x3d, 0xce, 0x0f, 0x49, 0x6c, 0x68, 0x41, 0x15, 0xab, 0x64, 0x66, + 0xee, 0xb9, 0xbe, 0x73, 0xce, 0x99, 0xb9, 0x03, 0xe6, 0x61, 0x5d, 0x53, 0x60, 0xe3, 0xf6, 0x2d, + 0x41, 0x46, 0xb8, 0xfe, 0x4c, 0xc2, 0xf5, 0x9a, 0x56, 0x85, 0x72, 0x4b, 0xae, 0x41, 0x81, 0x34, + 0x79, 0xc3, 0x44, 0x04, 0xb1, 0x49, 0x2f, 0x88, 0xef, 0x0b, 0x4a, 0xa6, 0xec, 0x29, 0x84, 0x85, + 0x8a, 0x84, 0xa1, 0xd0, 0x58, 0xaa, 0x40, 0x22, 0x2d, 0x09, 0x32, 0xd2, 0x74, 0x17, 0x9b, 0x9c, + 0xa1, 0xeb, 0x75, 0xac, 0x0a, 0x8d, 0x25, 0xfb, 0x87, 0x2e, 0xcc, 0xba, 0x0b, 0x65, 0x67, 0x24, + 0xb8, 0x03, 0xba, 0x24, 0xf8, 0x14, 0x05, 0x9b, 0x50, 0xb6, 0x88, 0x86, 0xf4, 0x32, 0x69, 0x19, + 0x90, 0x02, 0x16, 0x7c, 0x00, 0x86, 0x64, 0x4a, 0x75, 0x2f, 0x73, 0x42, 0x45, 0x2a, 0x72, 0xbf, + 0x68, 0xff, 0x73, 0x67, 0xb3, 0x2f, 0x47, 0xc0, 0x4c, 0x11, 0xab, 0x5b, 0x96, 0xae, 0x6c, 0x36, + 0x35, 0x4c, 0xa0, 0x4e, 0x36, 0x90, 0x4e, 0x4c, 0x49, 0x26, 0xec, 0x35, 0x10, 0xc3, 0x50, 0x57, + 0xa0, 0xc9, 0x31, 0x19, 0x26, 0x37, 0x56, 0xe0, 0x3e, 0x1c, 0x2c, 0x26, 0x68, 0xb5, 0xeb, 0x8a, + 0x62, 0x42, 0x8c, 0x1f, 0x11, 0x53, 0xd3, 0x55, 0x91, 0xc6, 0xb1, 0xab, 0x60, 0x52, 0xa6, 0xe8, + 0xb2, 0xa4, 0x28, 0x26, 0x37, 0x12, 0x00, 0x9c, 0xf0, 0xc2, 0xed, 0x69, 0x56, 0x01, 0xa3, 0x0a, + 0x34, 0x10, 0xd6, 0x08, 0x17, 0xce, 0x30, 0xb9, 0xf1, 0xfc, 0x2c, 0x4f, 0x51, 0x36, 0xc5, 0x3c, + 0xa5, 0x98, 0xdf, 0x40, 0x9a, 0x5e, 0x10, 0x0e, 0x8f, 0xd3, 0xa1, 0x4f, 0xc7, 0xe9, 0x05, 0x55, + 0x23, 0x3b, 0x56, 0x85, 0x97, 0x51, 0x9d, 0x32, 0x49, 0x7f, 0x16, 0xb1, 0xb2, 0x2b, 0xd8, 0x44, + 0x61, 0x07, 0x20, 0x7a, 0xa9, 0x57, 0xfe, 0xdf, 0xdb, 0x4f, 0x33, 0xdf, 0xf6, 0xd3, 0xcc, 0x8b, + 0xaf, 0x6f, 0xaf, 0xd2, 0xca, 0xb3, 0x73, 0x20, 0x3d, 0x84, 0x06, 0x11, 0x62, 0x03, 0xe9, 0x18, + 0x66, 0x3f, 0x33, 0x0e, 0x55, 0x4f, 0x0c, 0x45, 0x22, 0xb0, 0xe4, 0x50, 0x5b, 0x32, 0x91, 0x81, + 0xb0, 0x54, 0x63, 0x13, 0x20, 0x4a, 0x34, 0x52, 0x83, 0x2e, 0x53, 0xa2, 0x3b, 0x60, 0x33, 0x60, + 0x5c, 0x81, 0x58, 0x36, 0x35, 0xc3, 0x56, 0xcd, 0x25, 0x43, 0xec, 0x9e, 0x62, 0x6f, 0x80, 0x31, + 0xc9, 0x22, 0x3b, 0xc8, 0xd4, 0x48, 0xcb, 0xd9, 0xb3, 0x1f, 0x59, 0x9d, 0x50, 0x76, 0x0d, 0xc4, + 0x5c, 0x71, 0xb9, 0x88, 0x43, 0x54, 0x96, 0x1f, 0xee, 0x53, 0xde, 0xad, 0xb5, 0x10, 0xb1, 0x19, + 0x13, 0x29, 0x6e, 0x25, 0x6e, 0xef, 0xbe, 0x93, 0x91, 0x12, 0x30, 0x68, 0x73, 0x6d, 0x02, 0xbe, + 0x87, 0xc1, 0xa5, 0x22, 0x56, 0x45, 0xa8, 0xda, 0x0c, 0x99, 0x1e, 0x41, 0x17, 0x46, 0x82, 0x05, + 0xa6, 0xda, 0x6e, 0xf3, 0x7c, 0x13, 0xf9, 0xe3, 0xbe, 0xf9, 0xcf, 0xfb, 0xc6, 0x7d, 0xf7, 0x13, + 0xfd, 0x26, 0x8f, 0xfe, 0x96, 0xc9, 0x4b, 0x20, 0xde, 0x7b, 0x90, 0xb9, 0x58, 0x86, 0xc9, 0xc5, + 0xf3, 0x57, 0xfc, 0x24, 0xdc, 0xf4, 0x10, 0x8f, 0x5b, 0x06, 0x14, 0x27, 0x61, 0xf7, 0x90, 0xbd, + 0x0b, 0x92, 0x9d, 0x8c, 0x95, 0x1a, 0x92, 0x77, 0x71, 0xb9, 0x6a, 0xc2, 0xa7, 0x16, 0xd4, 0xe5, + 0x16, 0x37, 0x9a, 0x61, 0x72, 0x61, 0x91, 0x6b, 0x47, 0x14, 0x9c, 0x80, 0x2d, 0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b, 0x01, 0x39, 0x07, 0x1f, 0xa8, 0xe4, 0xea, 0x99, 0x60, 0x3d, 0x85, 0xf4, + 0x1a, 0x2a, 0xb0, 0x90, 0xc1, 0xfe, 0x0b, 0x2c, 0xc4, 0xdf, 0xb6, 0x85, 0xed, 0xc3, 0x93, 0x14, + 0x73, 0x74, 0x92, 0x62, 0xbe, 0x9c, 0xa4, 0x98, 0x37, 0xa7, 0xa9, 0xd0, 0xd1, 0x69, 0x2a, 0xf4, + 0xf1, 0x34, 0x15, 0xda, 0x5e, 0xeb, 0x6a, 0xaf, 0x7d, 0x2f, 0xd4, 0xc5, 0xce, 0x13, 0xb5, 0x39, + 0xe8, 0xf1, 0x6d, 0x37, 0xdf, 0x4a, 0xcc, 0x79, 0xa0, 0x2e, 0xff, 0x08, 0x00, 0x00, 0xff, 0xff, + 0x0e, 0x38, 0x8f, 0x5b, 0xa7, 0x0b, 0x00, 0x00, } func (this *MsgFundExistentContract) Equal(that interface{}) bool { @@ -887,7 +890,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) FundExistentContract(ctx context.Context, in *MsgFundExistentContract, opts ...grpc.CallOption) (*MsgFundExistentContractResponse, error) { out := new(MsgFundExistentContractResponse) - err := c.cc.Invoke(ctx, "/cosmwasmlifecycle.Msg/FundExistentContract", in, out, opts...) + err := c.cc.Invoke(ctx, "/emidev98.cosmwasmlifecycle.Msg/FundExistentContract", in, out, opts...) if err != nil { return nil, err } @@ -896,7 +899,7 @@ func (c *msgClient) FundExistentContract(ctx context.Context, in *MsgFundExisten func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParamsProposal, opts ...grpc.CallOption) (*MsgUpdateParamsProposalResponse, error) { out := new(MsgUpdateParamsProposalResponse) - err := c.cc.Invoke(ctx, "/cosmwasmlifecycle.Msg/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/emidev98.cosmwasmlifecycle.Msg/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -905,7 +908,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParamsProposa func (c *msgClient) RegisterContract(ctx context.Context, in *MsgRegisterContractProposal, opts ...grpc.CallOption) (*MsgRegisterContractProposalResponse, error) { out := new(MsgRegisterContractProposalResponse) - err := c.cc.Invoke(ctx, "/cosmwasmlifecycle.Msg/RegisterContract", in, out, opts...) + err := c.cc.Invoke(ctx, "/emidev98.cosmwasmlifecycle.Msg/RegisterContract", in, out, opts...) if err != nil { return nil, err } @@ -914,7 +917,7 @@ func (c *msgClient) RegisterContract(ctx context.Context, in *MsgRegisterContrac func (c *msgClient) ModifyContract(ctx context.Context, in *MsgModifyContractProposal, opts ...grpc.CallOption) (*MsgModifyContractProposalResponse, error) { out := new(MsgModifyContractProposalResponse) - err := c.cc.Invoke(ctx, "/cosmwasmlifecycle.Msg/ModifyContract", in, out, opts...) + err := c.cc.Invoke(ctx, "/emidev98.cosmwasmlifecycle.Msg/ModifyContract", in, out, opts...) if err != nil { return nil, err } @@ -923,7 +926,7 @@ func (c *msgClient) ModifyContract(ctx context.Context, in *MsgModifyContractPro func (c *msgClient) RemoveContract(ctx context.Context, in *MsgRemoveContractProposal, opts ...grpc.CallOption) (*MsgRemoveContractProposalResponse, error) { out := new(MsgRemoveContractProposalResponse) - err := c.cc.Invoke(ctx, "/cosmwasmlifecycle.Msg/RemoveContract", in, out, opts...) + err := c.cc.Invoke(ctx, "/emidev98.cosmwasmlifecycle.Msg/RemoveContract", in, out, opts...) if err != nil { return nil, err } @@ -982,7 +985,7 @@ func _Msg_FundExistentContract_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmwasmlifecycle.Msg/FundExistentContract", + FullMethod: "/emidev98.cosmwasmlifecycle.Msg/FundExistentContract", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).FundExistentContract(ctx, req.(*MsgFundExistentContract)) @@ -1000,7 +1003,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmwasmlifecycle.Msg/UpdateParams", + FullMethod: "/emidev98.cosmwasmlifecycle.Msg/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParamsProposal)) @@ -1018,7 +1021,7 @@ func _Msg_RegisterContract_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmwasmlifecycle.Msg/RegisterContract", + FullMethod: "/emidev98.cosmwasmlifecycle.Msg/RegisterContract", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RegisterContract(ctx, req.(*MsgRegisterContractProposal)) @@ -1036,7 +1039,7 @@ func _Msg_ModifyContract_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmwasmlifecycle.Msg/ModifyContract", + FullMethod: "/emidev98.cosmwasmlifecycle.Msg/ModifyContract", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ModifyContract(ctx, req.(*MsgModifyContractProposal)) @@ -1054,7 +1057,7 @@ func _Msg_RemoveContract_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmwasmlifecycle.Msg/RemoveContract", + FullMethod: "/emidev98.cosmwasmlifecycle.Msg/RemoveContract", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveContract(ctx, req.(*MsgRemoveContractProposal)) @@ -1063,7 +1066,7 @@ func _Msg_RemoveContract_Handler(srv interface{}, ctx context.Context, dec func( } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cosmwasmlifecycle.Msg", + ServiceName: "emidev98.cosmwasmlifecycle.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1088,7 +1091,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cosmwasmlifecycle/tx.proto", + Metadata: "emidev98/cosmwasmlifecycle/tx.proto", } func (m *MsgFundExistentContract) Marshal() (dAtA []byte, err error) {