forked from chainapsis/keplr-wallet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e9ca5a
commit 318c0db
Showing
26 changed files
with
971 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
47xVj6yH8GxPnu1BOIH1MiJVtlE6POLMYvtUZYTBu/5MPH+/VZKmDSx8zscGTLTJpxn9rxdR/+cPKXJdeaqXzulJEYlXTSU7x80PSUD7rlp2mWT0RYGFDIN+Fik5sFOv7Um1WRmAnzsEu+hDNatREyB47p1Gxms6JX0klLRyAyxUnUJRvDIjqQiAHvjtBGK0z5Fgtw08ei6MwIGQTf1GQHMO/FAQfd3uq8plIG5KNxinIvHEu7y1qZFBLB7UiMKcd8fWxfvYJA4IV73pCYbInRh3jcatX/QI80oBDMXBo9DCv5IaZQQs1G7JPcfzThPm | ||
47xVj6yH8GxPnu1BOIH1MiJVtlE6POLMYvtUZYTBu/5MPH+/VZKmDSx8zscGTLTJpxn9rxdR/+cPKXJdeaqXzulJEYlXTSU7x80PSUD7rlp2mWT0RYGFDIN+Fik5sFOv7Um1WRmAnzsEu+hDNatREyB47p1Gxms6JX0klLRyAyxUnUJRvDIjqQiAHvjtBGK0z5Fgtw08ei6MwIGQTf1GQHMO/FAQfd3uq8plIG5KNxinIvHEViD2YjIK7cmuvNIFc5CdQK0lzAoIV73pCYbInRh3jcatX/QI80oBDMXBo9DCv5IaZQQs1G7JPcfzThPm |
45 changes: 45 additions & 0 deletions
45
packages/proto-types/proto-types-gen/proto/secret/compute/v1/genesis.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
syntax = "proto3"; | ||
package secret.compute.v1beta1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "secret/compute/v1beta1/types.proto"; | ||
|
||
option go_package = "github.com/scrtlabs/SecretNetwork/x/compute/internal/types"; | ||
|
||
// GenesisState - genesis state of x/wasm | ||
message GenesisState { | ||
// Params params = 1 [(gogoproto.nullable) = false]; | ||
repeated Code codes = 2 | ||
[ (gogoproto.nullable) = false, (gogoproto.jsontag) = "codes,omitempty" ]; | ||
repeated Contract contracts = 3 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.jsontag) = "contracts,omitempty" | ||
]; | ||
repeated Sequence sequences = 4 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.jsontag) = "sequences,omitempty" | ||
]; | ||
} | ||
|
||
// Code struct encompasses CodeInfo and CodeBytes | ||
message Code { | ||
uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; | ||
CodeInfo code_info = 2 [ (gogoproto.nullable) = false ]; | ||
bytes code_bytes = 3; | ||
} | ||
|
||
// Contract struct encompasses ContractAddress, ContractInfo, and ContractState | ||
message Contract { | ||
bytes contract_address = 1 | ||
[ (gogoproto.casttype) = | ||
"github.com/cosmos/cosmos-sdk/types.AccAddress" ]; | ||
ContractInfo contract_info = 2 [ (gogoproto.nullable) = false ]; | ||
repeated Model contract_state = 3 [ (gogoproto.nullable) = false ]; | ||
ContractCustomInfo contract_custom_info = 4; | ||
} | ||
|
||
// Sequence id and value of a counter | ||
message Sequence { | ||
bytes id_key = 1 [ (gogoproto.customname) = "IDKey" ]; | ||
uint64 value = 2; | ||
} |
Oops, something went wrong.