Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agoric/cosmos

Package Overview
Dependencies
Maintainers
5
Versions
2530
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/cosmos - npm Package Compare versions

Comparing version 0.27.0 to 0.27.1-dev.0

app/agoric_ante.go

4

package.json
{
"name": "@agoric/cosmos",
"version": "0.27.0",
"version": "0.27.1-dev.0+3804194",
"description": "Connect JS to the Cosmos blockchain SDK",

@@ -69,3 +69,3 @@ "parsers": {

},
"gitHead": "34bf70e60b29f53ba50fd4afebdb02d9196860fa"
"gitHead": "380419441d21eade22955258bb84602963cbd5e0"
}

@@ -42,12 +42,39 @@ <!--

## From Golang to Javascript
### LIEN_GET_STAKING
### LIEN_SLASHED
* type: "LIEN_GET_STAKING"
* validators: array of strings of bech32-encoded operator addresses
* delegators: array of strings of bech32-encoded account addresses
* type: "LIEN_SLASHED"
* addresses: array of bech32-encoded strings, lexicographically sorted
* currentTime: string timestamp
Response:
No reply, eventual delivery.
* epoch_tag: string encoding the staking epoch.
If it is the same in two different responses, the results can be
safely aggregated.
* denom: string giving the name of the staking token
* validator_values: array of the same length as the request `validators`,
where each entry is a string encoding nonnegative integer
giving the tokens delegated to the corresponding validator, or `null`
if that validator address is malformed.
* delegator_states: array of the same length as the request `delegators`,
holding `null` if the address is malformed, otherwise an object containing:
* val_idx: array of nonnegative integers referring to the index of
a validator in the request. If the same validator address is
given multiple times in the request, the index of the last one is used.
* values: array of strings of the same size as `val_idx` encoding
nonnegative integers for the amount this delegator has delegated
to the referenced validator.
* other: string encoding nonnegative integer of the total amount
this delegator has delegated to validators not mentioned in the request.
This call obtains a partial snapshot of staking data in a compact
representation. It is intended for use in tallying votes of delegated tokens,
with proxying of votes based on delegation. It has nothing to do with liens
per se, but the lien module has the necessary connectivity to implement it.
This call may be moved to another module in the future if appropriate.
## From Golang to Javascript
None.
## Design Notes

@@ -54,0 +81,0 @@

@@ -60,3 +60,3 @@ # Virtual Bank

$ agd query vbank params
{"fee_epoch_duration_blocks":"720"}
fee_epoch_duration_blocks: "720"
$ cat <<EOF > epoch-duration-proposal.json

@@ -69,3 +69,3 @@ {

"subspace": "vbank",
"key": "feeepochdurationblocks",
"key": "fee_epoch_duration_blocks",
"value": "30"

@@ -77,3 +77,3 @@ }

EOF
$ agd tx gov submit-proposal param-change epochdur.json --from=mykey --chain-id=agoric
$ agd tx gov submit-proposal param-change epoch-duration-proposal.json --from=mykey --chain-id=agoric
# Then vote on the proposal.

@@ -83,4 +83,4 @@ $ agd tx vote ...

$ agd query vbank params
{"fee_epoch_duration_blocks":"30"}
fee_epoch_duration_blocks: "30"
$
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc