cosmoverse 0.0.1.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +50 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +62 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +16 -0
- data/buf.gen.yaml +35 -0
- data/buf.yaml +7 -0
- data/docker/gaia/Dockerfile +13 -0
- data/docker/gaia/wait_for_next_block +10 -0
- data/docker-compose.yml +21 -0
- data/lib/cosmoverse/cosmos/bank.rb +33 -0
- data/lib/cosmoverse/cosmos/client/base.rb +27 -0
- data/lib/cosmoverse/cosmos/client/grpc.rb +28 -0
- data/lib/cosmoverse/cosmos/client/http.rb +36 -0
- data/lib/cosmoverse/cosmos/client.rb +19 -0
- data/lib/cosmoverse/cosmos/collectable.rb +50 -0
- data/lib/cosmoverse/cosmos/config.rb +26 -0
- data/lib/cosmoverse/cosmos/ibc/denom_trace.rb +58 -0
- data/lib/cosmoverse/cosmos/tx.rb +85 -0
- data/lib/cosmoverse/cosmos.rb +13 -0
- data/lib/cosmoverse/proto/amino/amino_pb.rb +20 -0
- data/lib/cosmoverse/proto/cosmos/bank/v1beta1/bank_pb.rb +71 -0
- data/lib/cosmoverse/proto/cosmos/bank/v1beta1/query_pb.rb +138 -0
- data/lib/cosmoverse/proto/cosmos/bank/v1beta1/query_services_pb.rb +89 -0
- data/lib/cosmoverse/proto/cosmos/base/abci/v1beta1/abci_pb.rb +108 -0
- data/lib/cosmoverse/proto/cosmos/base/query/v1beta1/pagination_pb.rb +39 -0
- data/lib/cosmoverse/proto/cosmos/base/v1beta1/coin_pb.rb +46 -0
- data/lib/cosmoverse/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.rb +37 -0
- data/lib/cosmoverse/proto/cosmos/msg/v1/msg_pb.rb +26 -0
- data/lib/cosmoverse/proto/cosmos/query/v1/query_pb.rb +26 -0
- data/lib/cosmoverse/proto/cosmos/tx/signing/v1beta1/signing_pb.rb +65 -0
- data/lib/cosmoverse/proto/cosmos/tx/v1beta1/service_pb.rb +132 -0
- data/lib/cosmoverse/proto/cosmos/tx/v1beta1/service_services_pb.rb +61 -0
- data/lib/cosmoverse/proto/cosmos/tx/v1beta1/tx_pb.rb +114 -0
- data/lib/cosmoverse/proto/cosmos_proto/cosmos_pb.rb +37 -0
- data/lib/cosmoverse/proto/gogoproto/gogo_pb.rb +20 -0
- data/lib/cosmoverse/proto/ibc/applications/transfer/v1/query_pb.rb +70 -0
- data/lib/cosmoverse/proto/ibc/applications/transfer/v1/query_services_pb.rb +43 -0
- data/lib/cosmoverse/proto/ibc/applications/transfer/v1/transfer_pb.rb +34 -0
- data/lib/cosmoverse/proto/tendermint/abci/types_pb.rb +370 -0
- data/lib/cosmoverse/proto/tendermint/abci/types_services_pb.rb +49 -0
- data/lib/cosmoverse/proto/tendermint/crypto/keys_pb.rb +31 -0
- data/lib/cosmoverse/proto/tendermint/crypto/proof_pb.rb +52 -0
- data/lib/cosmoverse/proto/tendermint/types/block_pb.rb +33 -0
- data/lib/cosmoverse/proto/tendermint/types/evidence_pb.rb +54 -0
- data/lib/cosmoverse/proto/tendermint/types/params_pb.rb +56 -0
- data/lib/cosmoverse/proto/tendermint/types/types_pb.rb +137 -0
- data/lib/cosmoverse/proto/tendermint/types/validator_pb.rb +43 -0
- data/lib/cosmoverse/proto/tendermint/version/types_pb.rb +34 -0
- data/lib/cosmoverse/version.rb +5 -0
- data/lib/cosmoverse.rb +13 -0
- data/sig/cosmoverse.rbs +4 -0
- metadata +118 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/types/evidence.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
require 'cosmoverse/proto/tendermint/types/types_pb'
|
11
|
+
require 'cosmoverse/proto/tendermint/types/validator_pb'
|
12
|
+
|
13
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
+
add_file("tendermint/types/evidence.proto", :syntax => :proto3) do
|
15
|
+
add_message "tendermint.types.Evidence" do
|
16
|
+
oneof :sum do
|
17
|
+
optional :duplicate_vote_evidence, :message, 1, "tendermint.types.DuplicateVoteEvidence", json_name: "duplicateVoteEvidence"
|
18
|
+
optional :light_client_attack_evidence, :message, 2, "tendermint.types.LightClientAttackEvidence", json_name: "lightClientAttackEvidence"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
add_message "tendermint.types.DuplicateVoteEvidence" do
|
22
|
+
optional :vote_a, :message, 1, "tendermint.types.Vote", json_name: "voteA"
|
23
|
+
optional :vote_b, :message, 2, "tendermint.types.Vote", json_name: "voteB"
|
24
|
+
optional :total_voting_power, :int64, 3, json_name: "totalVotingPower"
|
25
|
+
optional :validator_power, :int64, 4, json_name: "validatorPower"
|
26
|
+
optional :timestamp, :message, 5, "google.protobuf.Timestamp", json_name: "timestamp"
|
27
|
+
end
|
28
|
+
add_message "tendermint.types.LightClientAttackEvidence" do
|
29
|
+
optional :conflicting_block, :message, 1, "tendermint.types.LightBlock", json_name: "conflictingBlock"
|
30
|
+
optional :common_height, :int64, 2, json_name: "commonHeight"
|
31
|
+
repeated :byzantine_validators, :message, 3, "tendermint.types.Validator", json_name: "byzantineValidators"
|
32
|
+
optional :total_voting_power, :int64, 4, json_name: "totalVotingPower"
|
33
|
+
optional :timestamp, :message, 5, "google.protobuf.Timestamp", json_name: "timestamp"
|
34
|
+
end
|
35
|
+
add_message "tendermint.types.EvidenceList" do
|
36
|
+
repeated :evidence, :message, 1, "tendermint.types.Evidence", json_name: "evidence"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
module Cosmoverse
|
42
|
+
module Proto
|
43
|
+
module Tendermint
|
44
|
+
module Types
|
45
|
+
module Evidence
|
46
|
+
Evidence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Evidence").msgclass
|
47
|
+
DuplicateVoteEvidence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.DuplicateVoteEvidence").msgclass
|
48
|
+
LightClientAttackEvidence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.LightClientAttackEvidence").msgclass
|
49
|
+
EvidenceList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.EvidenceList").msgclass
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/types/params.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
require 'google/protobuf/duration_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("tendermint/types/params.proto", :syntax => :proto3) do
|
13
|
+
add_message "tendermint.types.ConsensusParams" do
|
14
|
+
optional :block, :message, 1, "tendermint.types.BlockParams", json_name: "block"
|
15
|
+
optional :evidence, :message, 2, "tendermint.types.EvidenceParams", json_name: "evidence"
|
16
|
+
optional :validator, :message, 3, "tendermint.types.ValidatorParams", json_name: "validator"
|
17
|
+
optional :version, :message, 4, "tendermint.types.VersionParams", json_name: "version"
|
18
|
+
end
|
19
|
+
add_message "tendermint.types.BlockParams" do
|
20
|
+
optional :max_bytes, :int64, 1, json_name: "maxBytes"
|
21
|
+
optional :max_gas, :int64, 2, json_name: "maxGas"
|
22
|
+
end
|
23
|
+
add_message "tendermint.types.EvidenceParams" do
|
24
|
+
optional :max_age_num_blocks, :int64, 1, json_name: "maxAgeNumBlocks"
|
25
|
+
optional :max_age_duration, :message, 2, "google.protobuf.Duration", json_name: "maxAgeDuration"
|
26
|
+
optional :max_bytes, :int64, 3, json_name: "maxBytes"
|
27
|
+
end
|
28
|
+
add_message "tendermint.types.ValidatorParams" do
|
29
|
+
repeated :pub_key_types, :string, 1, json_name: "pubKeyTypes"
|
30
|
+
end
|
31
|
+
add_message "tendermint.types.VersionParams" do
|
32
|
+
optional :app, :uint64, 1, json_name: "app"
|
33
|
+
end
|
34
|
+
add_message "tendermint.types.HashedParams" do
|
35
|
+
optional :block_max_bytes, :int64, 1, json_name: "blockMaxBytes"
|
36
|
+
optional :block_max_gas, :int64, 2, json_name: "blockMaxGas"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
module Cosmoverse
|
42
|
+
module Proto
|
43
|
+
module Tendermint
|
44
|
+
module Types
|
45
|
+
module Params
|
46
|
+
ConsensusParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.ConsensusParams").msgclass
|
47
|
+
BlockParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.BlockParams").msgclass
|
48
|
+
EvidenceParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.EvidenceParams").msgclass
|
49
|
+
ValidatorParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.ValidatorParams").msgclass
|
50
|
+
VersionParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.VersionParams").msgclass
|
51
|
+
HashedParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.HashedParams").msgclass
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/types/types.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
require 'cosmoverse/proto/tendermint/crypto/proof_pb'
|
11
|
+
require 'cosmoverse/proto/tendermint/version/types_pb'
|
12
|
+
require 'cosmoverse/proto/tendermint/types/validator_pb'
|
13
|
+
|
14
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
|
+
add_file("tendermint/types/types.proto", :syntax => :proto3) do
|
16
|
+
add_message "tendermint.types.PartSetHeader" do
|
17
|
+
optional :total, :uint32, 1, json_name: "total"
|
18
|
+
optional :hash, :bytes, 2, json_name: "hash"
|
19
|
+
end
|
20
|
+
add_message "tendermint.types.Part" do
|
21
|
+
optional :index, :uint32, 1, json_name: "index"
|
22
|
+
optional :bytes, :bytes, 2, json_name: "bytes"
|
23
|
+
optional :proof, :message, 3, "tendermint.crypto.Proof", json_name: "proof"
|
24
|
+
end
|
25
|
+
add_message "tendermint.types.BlockID" do
|
26
|
+
optional :hash, :bytes, 1, json_name: "hash"
|
27
|
+
optional :part_set_header, :message, 2, "tendermint.types.PartSetHeader", json_name: "partSetHeader"
|
28
|
+
end
|
29
|
+
add_message "tendermint.types.Header" do
|
30
|
+
optional :version, :message, 1, "tendermint.version.Consensus", json_name: "version"
|
31
|
+
optional :chain_id, :string, 2, json_name: "chainId"
|
32
|
+
optional :height, :int64, 3, json_name: "height"
|
33
|
+
optional :time, :message, 4, "google.protobuf.Timestamp", json_name: "time"
|
34
|
+
optional :last_block_id, :message, 5, "tendermint.types.BlockID", json_name: "lastBlockId"
|
35
|
+
optional :last_commit_hash, :bytes, 6, json_name: "lastCommitHash"
|
36
|
+
optional :data_hash, :bytes, 7, json_name: "dataHash"
|
37
|
+
optional :validators_hash, :bytes, 8, json_name: "validatorsHash"
|
38
|
+
optional :next_validators_hash, :bytes, 9, json_name: "nextValidatorsHash"
|
39
|
+
optional :consensus_hash, :bytes, 10, json_name: "consensusHash"
|
40
|
+
optional :app_hash, :bytes, 11, json_name: "appHash"
|
41
|
+
optional :last_results_hash, :bytes, 12, json_name: "lastResultsHash"
|
42
|
+
optional :evidence_hash, :bytes, 13, json_name: "evidenceHash"
|
43
|
+
optional :proposer_address, :bytes, 14, json_name: "proposerAddress"
|
44
|
+
end
|
45
|
+
add_message "tendermint.types.Data" do
|
46
|
+
repeated :txs, :bytes, 1, json_name: "txs"
|
47
|
+
end
|
48
|
+
add_message "tendermint.types.Vote" do
|
49
|
+
optional :type, :enum, 1, "tendermint.types.SignedMsgType", json_name: "type"
|
50
|
+
optional :height, :int64, 2, json_name: "height"
|
51
|
+
optional :round, :int32, 3, json_name: "round"
|
52
|
+
optional :block_id, :message, 4, "tendermint.types.BlockID", json_name: "blockId"
|
53
|
+
optional :timestamp, :message, 5, "google.protobuf.Timestamp", json_name: "timestamp"
|
54
|
+
optional :validator_address, :bytes, 6, json_name: "validatorAddress"
|
55
|
+
optional :validator_index, :int32, 7, json_name: "validatorIndex"
|
56
|
+
optional :signature, :bytes, 8, json_name: "signature"
|
57
|
+
end
|
58
|
+
add_message "tendermint.types.Commit" do
|
59
|
+
optional :height, :int64, 1, json_name: "height"
|
60
|
+
optional :round, :int32, 2, json_name: "round"
|
61
|
+
optional :block_id, :message, 3, "tendermint.types.BlockID", json_name: "blockId"
|
62
|
+
repeated :signatures, :message, 4, "tendermint.types.CommitSig", json_name: "signatures"
|
63
|
+
end
|
64
|
+
add_message "tendermint.types.CommitSig" do
|
65
|
+
optional :block_id_flag, :enum, 1, "tendermint.types.BlockIDFlag", json_name: "blockIdFlag"
|
66
|
+
optional :validator_address, :bytes, 2, json_name: "validatorAddress"
|
67
|
+
optional :timestamp, :message, 3, "google.protobuf.Timestamp", json_name: "timestamp"
|
68
|
+
optional :signature, :bytes, 4, json_name: "signature"
|
69
|
+
end
|
70
|
+
add_message "tendermint.types.Proposal" do
|
71
|
+
optional :type, :enum, 1, "tendermint.types.SignedMsgType", json_name: "type"
|
72
|
+
optional :height, :int64, 2, json_name: "height"
|
73
|
+
optional :round, :int32, 3, json_name: "round"
|
74
|
+
optional :pol_round, :int32, 4, json_name: "polRound"
|
75
|
+
optional :block_id, :message, 5, "tendermint.types.BlockID", json_name: "blockId"
|
76
|
+
optional :timestamp, :message, 6, "google.protobuf.Timestamp", json_name: "timestamp"
|
77
|
+
optional :signature, :bytes, 7, json_name: "signature"
|
78
|
+
end
|
79
|
+
add_message "tendermint.types.SignedHeader" do
|
80
|
+
optional :header, :message, 1, "tendermint.types.Header", json_name: "header"
|
81
|
+
optional :commit, :message, 2, "tendermint.types.Commit", json_name: "commit"
|
82
|
+
end
|
83
|
+
add_message "tendermint.types.LightBlock" do
|
84
|
+
optional :signed_header, :message, 1, "tendermint.types.SignedHeader", json_name: "signedHeader"
|
85
|
+
optional :validator_set, :message, 2, "tendermint.types.ValidatorSet", json_name: "validatorSet"
|
86
|
+
end
|
87
|
+
add_message "tendermint.types.BlockMeta" do
|
88
|
+
optional :block_id, :message, 1, "tendermint.types.BlockID", json_name: "blockId"
|
89
|
+
optional :block_size, :int64, 2, json_name: "blockSize"
|
90
|
+
optional :header, :message, 3, "tendermint.types.Header", json_name: "header"
|
91
|
+
optional :num_txs, :int64, 4, json_name: "numTxs"
|
92
|
+
end
|
93
|
+
add_message "tendermint.types.TxProof" do
|
94
|
+
optional :root_hash, :bytes, 1, json_name: "rootHash"
|
95
|
+
optional :data, :bytes, 2, json_name: "data"
|
96
|
+
optional :proof, :message, 3, "tendermint.crypto.Proof", json_name: "proof"
|
97
|
+
end
|
98
|
+
add_enum "tendermint.types.BlockIDFlag" do
|
99
|
+
value :BLOCK_ID_FLAG_UNKNOWN, 0
|
100
|
+
value :BLOCK_ID_FLAG_ABSENT, 1
|
101
|
+
value :BLOCK_ID_FLAG_COMMIT, 2
|
102
|
+
value :BLOCK_ID_FLAG_NIL, 3
|
103
|
+
end
|
104
|
+
add_enum "tendermint.types.SignedMsgType" do
|
105
|
+
value :SIGNED_MSG_TYPE_UNKNOWN, 0
|
106
|
+
value :SIGNED_MSG_TYPE_PREVOTE, 1
|
107
|
+
value :SIGNED_MSG_TYPE_PRECOMMIT, 2
|
108
|
+
value :SIGNED_MSG_TYPE_PROPOSAL, 32
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
module Cosmoverse
|
114
|
+
module Proto
|
115
|
+
module Tendermint
|
116
|
+
module Types
|
117
|
+
module Types
|
118
|
+
PartSetHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.PartSetHeader").msgclass
|
119
|
+
Part = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Part").msgclass
|
120
|
+
BlockID = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.BlockID").msgclass
|
121
|
+
Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Header").msgclass
|
122
|
+
Data = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Data").msgclass
|
123
|
+
Vote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Vote").msgclass
|
124
|
+
Commit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Commit").msgclass
|
125
|
+
CommitSig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.CommitSig").msgclass
|
126
|
+
Proposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Proposal").msgclass
|
127
|
+
SignedHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.SignedHeader").msgclass
|
128
|
+
LightBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.LightBlock").msgclass
|
129
|
+
BlockMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.BlockMeta").msgclass
|
130
|
+
TxProof = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.TxProof").msgclass
|
131
|
+
BlockIDFlag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.BlockIDFlag").enummodule
|
132
|
+
SignedMsgType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.SignedMsgType").enummodule
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/types/validator.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
require 'cosmoverse/proto/tendermint/crypto/keys_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("tendermint/types/validator.proto", :syntax => :proto3) do
|
13
|
+
add_message "tendermint.types.ValidatorSet" do
|
14
|
+
repeated :validators, :message, 1, "tendermint.types.Validator", json_name: "validators"
|
15
|
+
optional :proposer, :message, 2, "tendermint.types.Validator", json_name: "proposer"
|
16
|
+
optional :total_voting_power, :int64, 3, json_name: "totalVotingPower"
|
17
|
+
end
|
18
|
+
add_message "tendermint.types.Validator" do
|
19
|
+
optional :address, :bytes, 1, json_name: "address"
|
20
|
+
optional :pub_key, :message, 2, "tendermint.crypto.PublicKey", json_name: "pubKey"
|
21
|
+
optional :voting_power, :int64, 3, json_name: "votingPower"
|
22
|
+
optional :proposer_priority, :int64, 4, json_name: "proposerPriority"
|
23
|
+
end
|
24
|
+
add_message "tendermint.types.SimpleValidator" do
|
25
|
+
optional :pub_key, :message, 1, "tendermint.crypto.PublicKey", json_name: "pubKey"
|
26
|
+
optional :voting_power, :int64, 2, json_name: "votingPower"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module Cosmoverse
|
32
|
+
module Proto
|
33
|
+
module Tendermint
|
34
|
+
module Types
|
35
|
+
module Validator
|
36
|
+
ValidatorSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.ValidatorSet").msgclass
|
37
|
+
Validator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.Validator").msgclass
|
38
|
+
SimpleValidator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.types.SimpleValidator").msgclass
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
|
+
# source: tendermint/version/types.proto
|
5
|
+
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
|
+
require 'cosmoverse/proto/gogoproto/gogo_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("tendermint/version/types.proto", :syntax => :proto3) do
|
12
|
+
add_message "tendermint.version.App" do
|
13
|
+
optional :protocol, :uint64, 1, json_name: "protocol"
|
14
|
+
optional :software, :string, 2, json_name: "software"
|
15
|
+
end
|
16
|
+
add_message "tendermint.version.Consensus" do
|
17
|
+
optional :block, :uint64, 1, json_name: "block"
|
18
|
+
optional :app, :uint64, 2, json_name: "app"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module Cosmoverse
|
24
|
+
module Proto
|
25
|
+
module Tendermint
|
26
|
+
module Version
|
27
|
+
module Types
|
28
|
+
App = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.version.App").msgclass
|
29
|
+
Consensus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("tendermint.version.Consensus").msgclass
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
data/lib/cosmoverse.rb
ADDED
data/sig/cosmoverse.rbs
ADDED
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cosmoverse
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.alpha
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Armin Kirchner
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-04-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: grpc
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: Ruby client for the cosmos ecosystem.
|
28
|
+
email:
|
29
|
+
- post.armin@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".rubocop.yml"
|
35
|
+
- ".tool-versions"
|
36
|
+
- CHANGELOG.md
|
37
|
+
- CODE_OF_CONDUCT.md
|
38
|
+
- Gemfile
|
39
|
+
- Gemfile.lock
|
40
|
+
- LICENSE.txt
|
41
|
+
- README.md
|
42
|
+
- Rakefile
|
43
|
+
- buf.gen.yaml
|
44
|
+
- buf.yaml
|
45
|
+
- docker-compose.yml
|
46
|
+
- docker/gaia/Dockerfile
|
47
|
+
- docker/gaia/wait_for_next_block
|
48
|
+
- lib/cosmoverse.rb
|
49
|
+
- lib/cosmoverse/cosmos.rb
|
50
|
+
- lib/cosmoverse/cosmos/bank.rb
|
51
|
+
- lib/cosmoverse/cosmos/client.rb
|
52
|
+
- lib/cosmoverse/cosmos/client/base.rb
|
53
|
+
- lib/cosmoverse/cosmos/client/grpc.rb
|
54
|
+
- lib/cosmoverse/cosmos/client/http.rb
|
55
|
+
- lib/cosmoverse/cosmos/collectable.rb
|
56
|
+
- lib/cosmoverse/cosmos/config.rb
|
57
|
+
- lib/cosmoverse/cosmos/ibc/denom_trace.rb
|
58
|
+
- lib/cosmoverse/cosmos/tx.rb
|
59
|
+
- lib/cosmoverse/proto/amino/amino_pb.rb
|
60
|
+
- lib/cosmoverse/proto/cosmos/bank/v1beta1/bank_pb.rb
|
61
|
+
- lib/cosmoverse/proto/cosmos/bank/v1beta1/query_pb.rb
|
62
|
+
- lib/cosmoverse/proto/cosmos/bank/v1beta1/query_services_pb.rb
|
63
|
+
- lib/cosmoverse/proto/cosmos/base/abci/v1beta1/abci_pb.rb
|
64
|
+
- lib/cosmoverse/proto/cosmos/base/query/v1beta1/pagination_pb.rb
|
65
|
+
- lib/cosmoverse/proto/cosmos/base/v1beta1/coin_pb.rb
|
66
|
+
- lib/cosmoverse/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.rb
|
67
|
+
- lib/cosmoverse/proto/cosmos/msg/v1/msg_pb.rb
|
68
|
+
- lib/cosmoverse/proto/cosmos/query/v1/query_pb.rb
|
69
|
+
- lib/cosmoverse/proto/cosmos/tx/signing/v1beta1/signing_pb.rb
|
70
|
+
- lib/cosmoverse/proto/cosmos/tx/v1beta1/service_pb.rb
|
71
|
+
- lib/cosmoverse/proto/cosmos/tx/v1beta1/service_services_pb.rb
|
72
|
+
- lib/cosmoverse/proto/cosmos/tx/v1beta1/tx_pb.rb
|
73
|
+
- lib/cosmoverse/proto/cosmos_proto/cosmos_pb.rb
|
74
|
+
- lib/cosmoverse/proto/gogoproto/gogo_pb.rb
|
75
|
+
- lib/cosmoverse/proto/ibc/applications/transfer/v1/query_pb.rb
|
76
|
+
- lib/cosmoverse/proto/ibc/applications/transfer/v1/query_services_pb.rb
|
77
|
+
- lib/cosmoverse/proto/ibc/applications/transfer/v1/transfer_pb.rb
|
78
|
+
- lib/cosmoverse/proto/tendermint/abci/types_pb.rb
|
79
|
+
- lib/cosmoverse/proto/tendermint/abci/types_services_pb.rb
|
80
|
+
- lib/cosmoverse/proto/tendermint/crypto/keys_pb.rb
|
81
|
+
- lib/cosmoverse/proto/tendermint/crypto/proof_pb.rb
|
82
|
+
- lib/cosmoverse/proto/tendermint/types/block_pb.rb
|
83
|
+
- lib/cosmoverse/proto/tendermint/types/evidence_pb.rb
|
84
|
+
- lib/cosmoverse/proto/tendermint/types/params_pb.rb
|
85
|
+
- lib/cosmoverse/proto/tendermint/types/types_pb.rb
|
86
|
+
- lib/cosmoverse/proto/tendermint/types/validator_pb.rb
|
87
|
+
- lib/cosmoverse/proto/tendermint/version/types_pb.rb
|
88
|
+
- lib/cosmoverse/version.rb
|
89
|
+
- sig/cosmoverse.rbs
|
90
|
+
homepage: https://github.com/uchu-ai/cosmoverse
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata:
|
94
|
+
allowed_push_host: https://rubygems.org/
|
95
|
+
homepage_uri: https://github.com/uchu-ai/cosmoverse
|
96
|
+
source_code_uri: https://github.com/uchu-ai/cosmoverse
|
97
|
+
changelog_uri: https://github.com/uchu-ai/cosmoverse/blob/main/CHANGELOG.md
|
98
|
+
rubygems_mfa_required: 'true'
|
99
|
+
post_install_message:
|
100
|
+
rdoc_options: []
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 3.1.0
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.3.1
|
113
|
+
requirements: []
|
114
|
+
rubygems_version: 3.3.7
|
115
|
+
signing_key:
|
116
|
+
specification_version: 4
|
117
|
+
summary: Ruby client for the cosmos ecosystem.
|
118
|
+
test_files: []
|