diff --git a/Makefile b/Makefile index d99176d1..2a8b8d47 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ COSMOS_SDK_VERSION := v0.50.14-inj.11 COSMOS_SDK_REPO := https://github.com/InjectiveLabs/cosmos-sdk.git -INJECTIVE_CORE_VERSION := v1.20.1 +INJECTIVE_CORE_VERSION := v1.20.3 INJECTIVE_CORE_REPO := https://github.com/InjectiveLabs/injective-core.git -INDEXER_VERSION := v1.20.49 +INDEXER_VERSION := v1.20.89 INDEXER_REPO := https://github.com/InjectiveLabs/injective-indexer.git IBC_GO_VERSION := v8.7.0-inj.4 @@ -17,10 +17,10 @@ COMETBFT_REPO := https://github.com/InjectiveLabs/cometbft.git WASMD_VERSION := v0.53.3-inj.3 WASMD_REPO := https://github.com/InjectiveLabs/wasmd.git -PYTHON_SDK_VERSION := v1.16.0 +PYTHON_SDK_VERSION := v1.16.1 PYTHON_SDK_REPO := https://github.com/InjectiveLabs/sdk-python.git -GO_SDK_VERSION := v1.63.0 +GO_SDK_VERSION := v1.63.1 GO_SDK_REPO := https://github.com/InjectiveLabs/sdk-go.git # Temporary directories diff --git a/source/includes/_chainstream.md b/source/includes/_chainstream.md index cae61c82..c12fd8e8 100644 --- a/source/includes/_chainstream.md +++ b/source/includes/_chainstream.md @@ -362,7 +362,8 @@ Each message contains a list of events that are filtered by the request paramete order_hashstringthe order hash fee_recipient_addressstringthe fee recipient address cidstringthe client order ID -trade_idstringthe trade ID +trade_idstringthe trade ID +notionalLegacyDecthe fee-exclusive quote amount actually settled for the trade (in human readable format)
diff --git a/source/includes/_errors.md b/source/includes/_errors.md index bcb82a1e..e50832c2 100644 --- a/source/includes/_errors.md +++ b/source/includes/_errors.md @@ -5,913 +5,240 @@ This section lists all error codes from various modules in the Injective ecosyst ## 06-solomachine module - - - - -
module_nameerror_codedescription
06-solomachine2invalid header
06-solomachine3invalid sequence
06-solomachine4invalid signature and data
06-solomachine5signature verification failed
06-solomachine6invalid solo machine proof
## 07-tendermint module - - - - - - - - - - - - -
module_nameerror_codedescription
07-tendermint2invalid chain-id
07-tendermint3invalid trusting period
07-tendermint4invalid unbonding period
07-tendermint5invalid header height
07-tendermint6invalid header
07-tendermint7invalid max clock drift
07-tendermint8processed time not found
07-tendermint9processed height not found
07-tendermint10packet-specified delay period has not been reached
07-tendermint11time since latest trusted state has passed the trusting period
07-tendermint12time since latest trusted state has passed the unbonding period
07-tendermint13invalid proof specs
07-tendermint14invalid validator set
## 08-cardano-probabilistic module - - - - - - - - - - - - - - - -
module_nameerror_codedescription
08-cardano-probabilistic2invalid chain-id
08-cardano-probabilistic3invalid trusting period
08-cardano-probabilistic4invalid probabilistic header height
08-cardano-probabilistic5invalid probabilistic header
08-cardano-probabilistic6processed time not found
08-cardano-probabilistic7processed height not found
08-cardano-probabilistic8packet-specified delay period has not been reached
08-cardano-probabilistic9time since latest trusted state has passed the trusting period
08-cardano-probabilistic10invalid current epoch
08-cardano-probabilistic12invalid security score
08-cardano-probabilistic13invalid unique pool count
08-cardano-probabilistic14invalid qualified unique stake basis points
08-cardano-probabilistic15invalid accepted block
08-cardano-probabilistic16invalid host state commitment evidence
08-cardano-probabilistic17invalid timestamp
08-cardano-probabilistic18not implemented
## Auction module - -
module_nameerror_codedescription
auction1invalid bid denom
auction2invalid bid round
## Authz module - - - - - - - -
module_nameerror_codedescription
authz2authorization not found
authz3expiration time of authorization should be more than current time
authz4unknown authorization type
authz5grant key not found
authz6authorization expired
authz7grantee and granter should be different
authz9authorization can be given to msg with only one signer
authz12max tokens should be positive
## Bank module - - - - - - - -
module_nameerror_codedescription
bank2no inputs to send transaction
bank3no outputs to send transaction
bank4sum inputs != sum outputs
bank5send transactions are disabled
bank6client denom metadata not found
bank7invalid key
bank8duplicate entry
bank9multiple senders not allowed
## Capability module - - - - - - -
module_nameerror_codedescription
capability2capability name not valid
capability3provided capability is nil
capability4capability name already taken
capability5given owner already claimed capability
capability6capability not owned by module
capability7capability not found
capability8owners not found for capability
## Channel module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
channel2channel already exists
channel3channel not found
channel4invalid channel
channel5invalid channel state
channel6invalid channel ordering
channel7invalid counterparty channel
channel8invalid channel capability
channel9channel capability not found
channel10sequence send not found
channel11sequence receive not found
channel12sequence acknowledgement not found
channel13invalid packet
channel14packet timeout
channel15too many connection hops
channel16invalid acknowledgement
channel17acknowledgement for packet already exists
channel18invalid channel identifier
channel19packet already received
channel20packet commitment not found
channel21packet sequence is out of order
channel22packet messages are redundant
channel23message is redundant, no-op will be performed
channel24invalid channel version
channel25packet has not been sent
channel26invalid packet timeout
channel27upgrade error receipt not found
channel28invalid upgrade
channel29invalid upgrade sequence
channel30upgrade not found
channel31incompatible counterparty upgrade
channel32invalid upgrade error
channel33restore failed
channel34upgrade timed-out
channel35upgrade timeout is invalid
channel36pending inflight packets exist
channel37upgrade timeout failed
channel38invalid pruning limit
channel39timeout not reached
channel40timeout elapsed
channel41pruning sequence start not found
channel42recv start sequence not found
## Client module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
client2light client already exists
client3light client is invalid
client4light client not found
client5light client is frozen due to misbehaviour
client6invalid client metadata
client7consensus state not found
client8invalid consensus state
client9client type not found
client10invalid client type
client11commitment root not found
client12invalid client header
client13invalid light client misbehaviour
client14client state verification failed
client15client consensus state verification failed
client16connection state verification failed
client17channel state verification failed
client18packet commitment verification failed
client19packet acknowledgement verification failed
client20packet receipt verification failed
client21next sequence receive verification failed
client22self consensus state not found
client23unable to update light client
client24invalid recovery client
client25invalid client upgrade
client26invalid height
client27invalid client state substitute
client28invalid upgrade proposal
client29client state is not active
client30membership verification failed
client31non-membership verification failed
client32client type not supported
## Commitment module - - -
module_nameerror_codedescription
commitment2invalid proof
commitment3invalid prefix
commitment4invalid merkle proof
## Connection module - - - - - - - - - -
module_nameerror_codedescription
connection2connection already exists
connection3connection not found
connection4light client connection paths not found
connection5connection path is not associated to the given light client
connection6invalid connection state
connection7invalid counterparty connection
connection8invalid connection
connection9invalid connection version
connection10connection version negotiation failed
connection11invalid connection identifier
## Crisis module - -
module_nameerror_codedescription
crisis2sender address is empty
crisis3unknown invariant
## Distribution module - - - - - - - - - - - -
module_nameerror_codedescription
distribution2delegator address is empty
distribution3withdraw address is empty
distribution4validator address is empty
distribution5no delegation distribution info
distribution6no validator distribution info
distribution7no validator commission to withdraw
distribution8set withdraw address disabled
distribution9community pool does not have sufficient coins to distribute
distribution10invalid community pool spend proposal amount
distribution11invalid community pool spend proposal recipient
distribution12validator does not exist
distribution13delegation does not exist
## Erc20 module - - - - - - - - - - -
module_nameerror_codedescription
erc202attempting to create a token pair for bank denom that already has a pair associated
erc203unauthorized account
erc204invalid genesis
erc205invalid token pair
erc206invalid ERC20 contract address
erc207unknown bank denom or zero supply
erc208error uploading ERC20 contract
erc209invalid token factory denom
erc2010respective erc20:... denom has existing supply
erc2011invalid query request
erc2012can't charge denom creation fee
## Evidence module - - -
module_nameerror_codedescription
evidence2unregistered handler for evidence type
evidence3invalid evidence
evidence5evidence already exists
## Evm module - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
evm2invalid storage state
evm3execution reverted
evm4chain configuration not found
evm5invalid chain configuration
evm6invalid zero address
evm7empty hash
evm8block bloom not found
evm9transaction receipt not found
evm10EVM Create operation is disabled
evm11EVM Call operation is disabled
evm12invalid transaction amount
evm13invalid gas price
evm14invalid gas fee
evm15evm transaction execution failed
evm16invalid gas refund amount
evm17inconsistent gas
evm18invalid gas cap
evm19invalid base fee
evm20gas computation overflow/underflow
evm21account type is not a valid ethereum account
evm22invalid gas limit
evm23failed to apply state override
evm24EVM Create operation is not authorized for user
evm25address is not allowed to receive funds
## Exchange module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
exchange1failed to validate order
exchange2spot market not found
exchange3spot market exists
exchange4struct field error
exchange5failed to validate market
exchange6subaccount has insufficient deposits
exchange7unrecognized order type
exchange8position quantity insufficient for order
exchange9order hash is not valid
exchange10subaccount id is not valid
exchange11invalid ticker
exchange12invalid base denom
exchange13invalid quote denom
exchange14invalid oracle
exchange15invalid expiry
exchange16invalid price
exchange17invalid quantity
exchange18unsupported oracle type
exchange19order doesnt exist
exchange21perpetual market exists
exchange22expiry futures market exists
exchange23expiry futures market expired
exchange24no liquidity on the orderbook!
exchange25orderbook liquidity cannot satisfy current worst price
exchange26insufficient margin
exchange27derivative market not found
exchange28position not found
exchange29position direction does not oppose the reduce-only order
exchange30price Surpasses Bankruptcy Price
exchange31position not liquidable
exchange32invalid trigger price
exchange33invalid oracle type
exchange34invalid minimum price tick size
exchange35invalid minimum quantity tick size
exchange36invalid minimum order margin
exchange37exceeds order side count
exchange38subaccount cannot place a market order when a market order in the same market was already placed in same block
exchange39cannot place a conditional market order when a conditional market order in same relative direction already exists
exchange40equivalent market launch proposal already exists
exchange41invalid market status
exchange42base denom cannot be same with quote denom
exchange43oracle base cannot be same with oracle quote
exchange44makerFeeRate does not match TakerFeeRate requirements
exchange45ensure that MaintenanceMarginRatio < InitialMarginRatio <= ReduceMarginRatio
exchange46oracleScaleFactor cannot be greater than MaxOracleScaleFactor
exchange47spot exchange is not enabled yet
exchange48derivatives exchange is not enabled yet
exchange49oracle price delta exceeds threshold
exchange50invalid hourly interest rate
exchange51invalid hourly funding rate cap
exchange52only perpetual markets can update funding parameters
exchange53invalid trading reward campaign
exchange54invalid fee discount schedule
exchange55invalid liquidation order
exchange56unknown error happened for campaign distributions
exchange57invalid trading reward points update
exchange58invalid batch msg update
exchange59post-only order exceeds top of book price
exchange60order type not supported for given message
exchange61sender must match dmm account
exchange62already opted out of rewards
exchange63invalid margin ratio
exchange64provided funds are below minimum
exchange65position margin is below the required threshold
exchange66pool has non-positive total lp token supply
exchange67passed lp token burn amount is greater than total lp token supply
exchange68unsupported action
exchange69position quantity cannot be negative
exchange70binary options market exists
exchange71binary options market not found
exchange72invalid settlement
exchange73account doesnt exist
exchange74sender should be a market admin
exchange75market is already scheduled to settle
exchange76market not found
exchange77denom decimal should be greater than 0 and not greater than max scale factor
exchange78state is invalid
exchange79transient orders up to cancellation not supported
exchange80invalid trade
exchange81no margin locked in subaccount
exchange82invalid access level to perform action
exchange83invalid address
exchange84invalid argument
exchange85invalid funds direction
exchange86no funds provided
exchange87invalid signature
exchange88no funds to unlock
exchange89no msgs provided
exchange90no msg provided
exchange91invalid amount
exchange92The current feature has been disabled
exchange93order has too much margin
exchange94subaccount nonce is invalid
exchange95insufficient funds
exchange96exchange is in post-only mode
exchange97client order id already exists
exchange98client order id is invalid. Max length is 36 chars
exchange99market cannot be settled in emergency mode
exchange100invalid notional
exchange101stale oracle price
exchange102invalid stake grant
exchange103insufficient stake for grant
exchange104invalid permissions
exchange105the decimals specified for the denom is incorrect
exchange106insufficient market balance
exchange107invalid expiration block
exchange108v1 perpetual and expiry market launch proposal is not supported
exchange109position not offsettable
exchange110offsetting subaccount IDs cannot be empty
exchange111invalid open notional cap
exchange112open notional cap breached
exchange113no valid offsetting positions found
exchange114targeted market is not the canonical liquidation target
exchange115message type is deprecated
## Feegrant module - - - - - -
module_nameerror_codedescription
feegrant2fee limit exceeded
feegrant3fee allowance expired
feegrant4invalid duration
feegrant5no allowance
feegrant6allowed messages are empty
feegrant7message not allowed
## Feeibc module - - - - - - - - - - -
module_nameerror_codedescription
feeibc2invalid ICS29 middleware version
feeibc3no account found for given refund address
feeibc4balance not found for given account address
feeibc5there is no fee escrowed for the given packetID
feeibc6relayers must not be set. This feature is not supported
feeibc7counterparty payee must not be empty
feeibc8forward relayer address not found
feeibc9fee module is not enabled for this channel. If this error occurs after channel setup, fee module may not be enabled
feeibc10relayer address must be stored for async WriteAcknowledgement
feeibc11the fee module is currently locked, a severe bug has been detected
feeibc12unsupported action
## Gov module - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
gov3inactive proposal
gov4proposal already active
gov5invalid proposal content
gov6invalid proposal type
gov7invalid vote option
gov8invalid genesis state
gov9no handler exists for proposal type
gov10proposal message not recognized by router
gov11no messages proposed
gov12invalid proposal message
gov13expected gov account as only signer for proposal message
gov15metadata too long
gov16minimum deposit is too small
gov18invalid proposer
gov20voting period already ended
gov21invalid proposal
gov22summary too long
gov23invalid deposit denom
## Host module - - -
module_nameerror_codedescription
host2invalid identifier
host3invalid path
host4invalid packet
## Ibc module - - - - - - - - - - - - - - - -
module_nameerror_codedescription
ibc1invalid sequence
ibc2unauthorized
ibc3insufficient funds
ibc4unknown request
ibc5invalid address
ibc6invalid coins
ibc7out of gas
ibc8invalid request
ibc9invalid height
ibc10invalid version
ibc11invalid chain-id
ibc12invalid type
ibc13failed packing protobuf message to Any
ibc14failed unpacking protobuf message from Any
ibc15internal logic error
ibc16not found
## Ibchooks module -
module_nameerror_codedescription
ibchooks2error in wasmhook message validation
## Icacontroller module -
module_nameerror_codedescription
icacontroller2controller submodule is disabled
## Icahost module -
module_nameerror_codedescription
icahost2host submodule is disabled
## Injective module - -
module_nameerror_codedescription
injective3invalid chain ID
injective4invalid ethereum signature
## Insurance module - - - - - - - - - - - -
module_nameerror_codedescription
insurance1insurance fund already exists
insurance2insurance fund not found
insurance3redemption already exists
insurance4invalid deposit amount
insurance5invalid deposit denom
insurance6insurance payout exceeds deposits
insurance7invalid ticker
insurance8invalid quote denom
insurance9invalid oracle
insurance10invalid expiration time
insurance11invalid marketID
insurance12invalid share denom
## Interchainaccounts module - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
interchainaccounts2unknown data type
interchainaccounts3account already exist
interchainaccounts4port is already bound
interchainaccounts5invalid message sent to channel end
interchainaccounts6invalid outgoing data
interchainaccounts7invalid route
interchainaccounts8interchain account not found
interchainaccounts9interchain account is already set
interchainaccounts10active channel already set for this owner
interchainaccounts11no active channel for this owner
interchainaccounts12invalid interchain accounts version
interchainaccounts13invalid account address
interchainaccounts14interchain account does not support this action
interchainaccounts15invalid controller port
interchainaccounts16invalid host port
interchainaccounts17timeout timestamp must be in the future
interchainaccounts18codec is not supported
interchainaccounts19invalid account reopening
## Oracle module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
oracle1relayer address is empty
oracle2bad rates count
oracle3bad resolve times
oracle4bad request ID
oracle5relayer not authorized
oracle6bad price feed base count
oracle7bad price feed quote count
oracle8unsupported oracle type
oracle9bad messages count
oracle10bad Coinbase message
oracle11bad Ethereum signature
oracle12bad Coinbase message timestamp
oracle13Coinbase price not found
oracle14Prices must be positive
oracle15Prices must be less than 10 million.
oracle16Invalid Band IBC Request
oracle17sample error
oracle18invalid packet timeout
oracle19invalid symbols count
oracle20could not claim port capability
oracle21invalid IBC Port ID
oracle22invalid IBC Channel ID
oracle23invalid Band IBC request interval
oracle24Invalid Band IBC Update Request Proposal
oracle25Band IBC Oracle Request not found
oracle26Base Info is empty
oracle27provider is empty
oracle28invalid provider name
oracle29invalid symbol
oracle30relayer already exists
oracle31provider price not found
oracle32invalid oracle request
oracle33no price for oracle was found
oracle34no address for Pyth contract found
oracle35unauthorized Pyth price relay
oracle36unauthorized Pyth price relay
oracle37unauthorized Pyth price relay
oracle38unauthorized Pyth price relay
oracle39empty price attestations
oracle40bad Stork message timestamp
oracle41sender stork is empty
oracle42invalid stork signature
oracle43stork asset id not unique
oracle44chainlink report verification failed
oracle45Band oracle is deprecated and no longer supported
oracle46stork asset id is empty
oracle47pyth pro update verification failed
oracle48seda fast oracle disabled: public key not configured
oracle49seda fast payload malformed
oracle50seda fast signature verification failed
oracle51seda fast exec program id not in allowlist
oracle52seda fast execution failed (non-zero exit code or no consensus)
oracle53seda fast result parser failed
## Params module - - - - - -
module_nameerror_codedescription
params2unknown subspace
params3failed to set parameter
params4submitted parameter changes are empty
params5parameter subspace is empty
params6parameter key is empty
params7parameter value is empty
## Peggy module - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
peggy1internal
peggy2duplicate
peggy3invalid
peggy4timeout
peggy5unknown
peggy6empty
peggy7outdated
peggy8unsupported
peggy9non contiguous event nonce
peggy10no unbatched txs found
peggy11can not set orchestrator addresses more than once
peggy12supply cannot exceed max ERC20 value
peggy13invalid ethereum sender on claim
peggy14invalid ethereum destination
peggy15missing previous claim for validator
peggy16eth address already in use
peggy17validator is unbonded
## Permissions module - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
permissions2attempting to create a namespace for denom that already exists
permissions3unauthorized account
permissions4invalid genesis
permissions5invalid namespace
permissions6invalid permissions
permissions7unknown role
permissions8unknown contract address
permissions9restricted action
permissions10invalid role
permissions11namespace for denom does not exist
permissions12contract hook query error
permissions13voucher was not found
permissions14invalid wasm hook
permissions15unknown policy
permissions16unauthorized policy change
permissions17invalid evm hook
permissions18invalid erc20 denom
## Port module - - - -
module_nameerror_codedescription
port2port is already binded
port3port not found
port4invalid port
port5route not found
## Sdk module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
sdk2tx parse error
sdk3invalid sequence
sdk4unauthorized
sdk5insufficient funds
sdk6unknown request
sdk7invalid address
sdk8invalid pubkey
sdk9unknown address
sdk10invalid coins
sdk11out of gas
sdk12memo too large
sdk13insufficient fee
sdk14maximum number of signatures exceeded
sdk15no signatures supplied
sdk16failed to marshal JSON bytes
sdk17failed to unmarshal JSON bytes
sdk18invalid request
sdk19tx already in mempool
sdk20mempool is full
sdk21tx too large
sdk22key not found
sdk23invalid account password
sdk24tx intended signer does not match the given signer
sdk25invalid gas adjustment
sdk26invalid height
sdk27invalid version
sdk28invalid chain-id
sdk29invalid type
sdk30tx timeout height
sdk31unknown extension options
sdk32incorrect account sequence
sdk33failed packing protobuf message to Any
sdk34failed unpacking protobuf message from Any
sdk35internal logic error
sdk36conflict
sdk37feature not supported
sdk38not found
sdk39Internal IO error
sdk40error in app.toml
sdk41invalid gas limit
## Slashing module - - - - - - - -
module_nameerror_codedescription
slashing2address is not associated with any known validator
slashing3validator does not exist for that address
slashing4validator still jailed; cannot be unjailed
slashing5validator not jailed; cannot be unjailed
slashing6validator has no self-delegation; cannot be unjailed
slashing7validator's self delegation less than minimum; cannot be unjailed
slashing8no validator signing info found
slashing9validator already tombstoned
## Staking module - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
staking2empty validator address
staking3validator does not exist
staking4validator already exist for this operator address; must use new validator operator address
staking5validator already exist for this pubkey; must use new validator pubkey
staking6validator pubkey type is not supported
staking7validator for this address is currently jailed
staking8failed to remove validator
staking9commission must be positive
staking10commission cannot be more than 100%
staking11commission cannot be more than the max rate
staking12commission cannot be changed more than once in 24h
staking13commission change rate must be positive
staking14commission change rate cannot be more than the max rate
staking15commission cannot be changed more than max change rate
staking16validator's self delegation must be greater than their minimum self delegation
staking17minimum self delegation cannot be decrease
staking18empty delegator address
staking19no delegation for (address, validator) tuple
staking20delegator does not exist with address
staking21delegator does not contain delegation
staking22insufficient delegation shares
staking23cannot delegate to an empty validator
staking24not enough delegation shares
staking25entry not mature
staking26no unbonding delegation found
staking27too many unbonding delegation entries for (delegator, validator) tuple
staking28no redelegation found
staking29cannot redelegate to the same validator
staking30too few tokens to redelegate (truncates to zero tokens)
staking31redelegation destination validator not found
staking32redelegation to this validator already in progress; first redelegation to this validator must complete before next redelegation
staking33too many redelegation entries for (delegator, src-validator, dst-validator) tuple
staking34cannot delegate to validators with invalid (zero) ex-rate
staking35both shares amount and shares percent provided
staking36neither shares amount nor shares percent provided
staking37invalid historical info
staking38no historical info found
staking39empty validator public key
staking40commission cannot be less than min rate
staking41unbonding operation not found
staking42cannot un-hold unbonding operation that is not on hold
staking43expected authority account as only signer for proposal message
staking44redelegation source validator not found
staking45unbonding type not found
staking70commission rate too small
## Store module - - - - - -
module_nameerror_codedescription
store2invalid proof
store3tx parse error
store4unknown request
store5internal logic error
store6conflict
store7invalid request
## Table_testdata module -
module_nameerror_codedescription
table_testdata2test
## Tokenfactory module - - - - - - - - - - - -
module_nameerror_codedescription
tokenfactory2attempting to create a denom that already exists (has bank metadata)
tokenfactory3unauthorized account
tokenfactory4invalid denom
tokenfactory5invalid creator
tokenfactory6invalid authority metadata
tokenfactory7invalid genesis
tokenfactory8subdenom too long, max length is 44 bytes
tokenfactory9subdenom too short, min length is 1 bytes
tokenfactory10nested subdenom too short, each one should have at least 1 bytes
tokenfactory11creator too long, max length is 75 bytes
tokenfactory12denom does not exist
tokenfactory13amount has to be positive
## Transfer module - - - - - - - - - -
module_nameerror_codedescription
transfer2invalid packet timeout
transfer3invalid denomination for cross-chain transfer
transfer4invalid ICS20 version
transfer5invalid token amount
transfer6denomination trace not found
transfer7fungible token transfers from this chain are disabled
transfer8fungible token transfers to this chain are disabled
transfer9max transfer channels
transfer10invalid transfer authorization
transfer11invalid memo
## Tx module - -
module_nameerror_codedescription
tx1tx parse error
tx2unknown protobuf field
## Txfees module - - -
module_nameerror_codedescription
txfees1invalid fee token
txfees2more than one coin in fee
txfees3unsupported query param
## Undefined module - - -
module_nameerror_codedescription
undefined1internal
undefined2stop iterating
undefined111222panic
## Upgrade module - - - - -
module_nameerror_codedescription
upgrade2module version not found
upgrade3upgrade plan not found
upgrade4upgraded client not found
upgrade5upgraded consensus state not found
upgrade6expected authority account as only signer for proposal message
## Vouchers module -
module_nameerror_codedescription
vouchers1voucher not found
## Wasm-hooks module - - - - -
module_nameerror_codedescription
wasm-hooks3cannot marshal the ICS20 packet
wasm-hooks4invalid packet data
wasm-hooks5cannot create response
wasm-hooks6wasm error
wasm-hooks7bad sender
## Wasm module - - - - - - - - - - - - - - - - - - - - - - - - -
module_nameerror_codedescription
wasm2create wasm contract failed
wasm3contract account already exists
wasm4instantiate wasm contract failed
wasm5execute wasm contract failed
wasm6insufficient gas
wasm7invalid genesis
wasm8not found
wasm9query wasm contract failed
wasm10invalid CosmosMsg from the contract
wasm11migrate wasm contract failed
wasm12empty
wasm13exceeds limit
wasm14invalid
wasm15duplicate
wasm16max transfer channels
wasm17unsupported for this contract
wasm18pinning contract failed
wasm19unpinning contract failed
wasm20unknown message from the contract
wasm21invalid event
wasm22no such contract
wasm27max query stack size exceeded
wasm28no such code
wasm29wasmvm error
wasm30max call depth exceeded
## Xwasm module - - - - - - - - - - -
module_nameerror_codedescription
xwasm1invalid gas limit
xwasm2invalid gas price
xwasm3invalid contract address
xwasm4contract already registered
xwasm5duplicate contract
xwasm6no contract addresses found
xwasm7invalid code id
xwasm8not possible to deduct gas fees
xwasm9missing granter address
xwasm10granter address does not exist
xwasm11invalid funding mode
diff --git a/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json index 931df70a..02e4af6f 100644 --- a/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json +++ b/source/json_tables/indexer/injective_derivative_exchange_rpc/DerivativePositionV2.json @@ -78,5 +78,25 @@ "Parameter": "upnl", "Type": "string", "Description": "Unrealized profit and loss of the position (only present when requested with with_upnl=true)" + }, + { + "Parameter": "initial_leverage", + "Type": "string", + "Description": "Leverage at the time the position was opened" + }, + { + "Parameter": "initial_margin", + "Type": "string", + "Description": "Margin at the time the position was opened, in USD" + }, + { + "Parameter": "initial_entry_price", + "Type": "string", + "Description": "Entry price at the time the position was opened, in USD" + }, + { + "Parameter": "initial_quantity", + "Type": "string", + "Description": "Quantity at the time the position was opened" } ] diff --git a/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderResponseType.json b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderResponseType.json index 4b4fd263..b13d07c8 100644 --- a/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderResponseType.json +++ b/source/json_tables/indexer/injective_rfq_rpc/ConditionalOrderResponseType.json @@ -87,7 +87,7 @@ { "Parameter": "terminal_at", "Type": "int64", - "Description": "Terminal timestamp in milliseconds (set when the order reaches a terminal status: completed, failed, or cancelled)" + "Description": "Terminal timestamp in milliseconds (set when the order reaches a terminal status: completed, failed, cancelled, or expired)" }, { "Parameter": "evm_chain_id", diff --git a/source/json_tables/indexer/injective_rfq_rpc/ListSettlementRequest.json b/source/json_tables/indexer/injective_rfq_rpc/ListSettlementRequest.json index 85105b15..92dddbe8 100644 --- a/source/json_tables/indexer/injective_rfq_rpc/ListSettlementRequest.json +++ b/source/json_tables/indexer/injective_rfq_rpc/ListSettlementRequest.json @@ -2,7 +2,7 @@ { "Parameter": "addresses", "Type": "string array", - "Description": "Filter by taker addresses", + "Description": "Filter by taker or executed maker addresses", "Required": "Yes" }, { diff --git a/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementRequest.json b/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementRequest.json index ca69a6ba..e68502b3 100644 --- a/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementRequest.json +++ b/source/json_tables/indexer/injective_rfq_rpc/StreamSettlementRequest.json @@ -2,7 +2,7 @@ { "Parameter": "addresses", "Type": "string array", - "Description": "Filter by addresses", + "Description": "Filter by taker or executed maker addresses", "Required": "Yes" } ] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativeMarketInfo.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativeMarketInfo.json new file mode 100644 index 00000000..5b3ac107 --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativeMarketInfo.json @@ -0,0 +1,117 @@ +[ + { + "Parameter": "market_id", + "Type": "string", + "Description": "DerivativeMarket ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote))) for perpetual markets and crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote + strconv.Itoa(int(expiry))))) for expiry futures markets" + }, + { + "Parameter": "market_status", + "Type": "string", + "Description": "The status of the market" + }, + { + "Parameter": "ticker", + "Type": "string", + "Description": "A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset." + }, + { + "Parameter": "oracle_base", + "Type": "string", + "Description": "Oracle base currency" + }, + { + "Parameter": "oracle_quote", + "Type": "string", + "Description": "Oracle quote currency" + }, + { + "Parameter": "oracle_type", + "Type": "string", + "Description": "Oracle Type" + }, + { + "Parameter": "oracle_scale_factor", + "Type": "uint32", + "Description": "OracleScaleFactor" + }, + { + "Parameter": "initial_margin_ratio", + "Type": "string", + "Description": "Defines the initial margin ratio of a derivative market" + }, + { + "Parameter": "maintenance_margin_ratio", + "Type": "string", + "Description": "Defines the maintenance margin ratio of a derivative market" + }, + { + "Parameter": "quote_denom", + "Type": "string", + "Description": "Coin denom used for the quote asset." + }, + { + "Parameter": "quote_token_meta", + "Type": "TokenMeta", + "Description": "Token metadata for quote asset" + }, + { + "Parameter": "maker_fee_rate", + "Type": "string", + "Description": "Defines the fee percentage makers pay when trading (in quote asset)" + }, + { + "Parameter": "taker_fee_rate", + "Type": "string", + "Description": "Defines the fee percentage takers pay when trading (in quote asset)" + }, + { + "Parameter": "service_provider_fee", + "Type": "string", + "Description": "Percentage of the transaction fee shared with the service provider" + }, + { + "Parameter": "is_perpetual", + "Type": "bool", + "Description": "True if the market is a perpetual swap market" + }, + { + "Parameter": "min_price_tick_size", + "Type": "string", + "Description": "Defines the minimum required tick size for the order's price" + }, + { + "Parameter": "min_quantity_tick_size", + "Type": "string", + "Description": "Defines the minimum required tick size for the order's quantity" + }, + { + "Parameter": "perpetual_market_info", + "Type": "PerpetualMarketInfo", + "Description": "" + }, + { + "Parameter": "perpetual_market_funding", + "Type": "PerpetualMarketFunding", + "Description": "" + }, + { + "Parameter": "expiry_futures_market_info", + "Type": "ExpiryFuturesMarketInfo", + "Description": "" + }, + { + "Parameter": "min_notional", + "Type": "string", + "Description": "Minimum notional value for the order" + }, + { + "Parameter": "reduce_margin_ratio", + "Type": "string", + "Description": "Defines the reduce margin ratio of a derivative market" + }, + { + "Parameter": "open_notional_cap", + "Type": "OpenNotionalCap", + "Description": "The open notional cap of the market, if any" + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativePositionV2.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativePositionV2.json index 931df70a..02e4af6f 100644 --- a/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativePositionV2.json +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/DerivativePositionV2.json @@ -78,5 +78,25 @@ "Parameter": "upnl", "Type": "string", "Description": "Unrealized profit and loss of the position (only present when requested with with_upnl=true)" + }, + { + "Parameter": "initial_leverage", + "Type": "string", + "Description": "Leverage at the time the position was opened" + }, + { + "Parameter": "initial_margin", + "Type": "string", + "Description": "Margin at the time the position was opened, in USD" + }, + { + "Parameter": "initial_entry_price", + "Type": "string", + "Description": "Entry price at the time the position was opened, in USD" + }, + { + "Parameter": "initial_quantity", + "Type": "string", + "Description": "Quantity at the time the position was opened" } ] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/ExpiryFuturesMarketInfo.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/ExpiryFuturesMarketInfo.json new file mode 100644 index 00000000..3a1d0673 --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/ExpiryFuturesMarketInfo.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "expiration_timestamp", + "Type": "int64", + "Description": "Defines the expiration time for a time expiry futures market in UNIX seconds." + }, + { + "Parameter": "settlement_price", + "Type": "string", + "Description": "Defines the settlement price for a time expiry futures market." + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/MarketsRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/MarketsRequest.json new file mode 100644 index 00000000..164bc5e4 --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/MarketsRequest.json @@ -0,0 +1,38 @@ +[ + { + "Parameter": "market_status", + "Type": "string", + "Description": "Filter by market status", + "Required": "Yes" + }, + { + "Parameter": "quote_denom", + "Type": "string", + "Description": "Filter by the Coin denomination of the quote currency", + "Required": "Yes" + }, + { + "Parameter": "market_statuses", + "Type": "string array", + "Description": "Filter by multiple market statuses", + "Required": "Yes" + }, + { + "Parameter": "market_ids", + "Type": "string array", + "Description": "", + "Required": "Yes" + }, + { + "Parameter": "per_page", + "Type": "int32", + "Description": "Number of results per page", + "Required": "Yes" + }, + { + "Parameter": "token", + "Type": "string", + "Description": "Pagination token", + "Required": "Yes" + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/MarketsResponse.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/MarketsResponse.json new file mode 100644 index 00000000..b7257edb --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/MarketsResponse.json @@ -0,0 +1,12 @@ +[ + { + "Parameter": "markets", + "Type": "DerivativeMarketInfo array", + "Description": "Derivative Markets list" + }, + { + "Parameter": "next", + "Type": "string array", + "Description": "Next tokens for pagination" + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/OpenNotionalCap.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/OpenNotionalCap.json new file mode 100644 index 00000000..71558fb9 --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/OpenNotionalCap.json @@ -0,0 +1,7 @@ +[ + { + "Parameter": "cap", + "Type": "string", + "Description": "The open notional cap of the market" + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/PerpetualMarketFunding.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/PerpetualMarketFunding.json new file mode 100644 index 00000000..cab81d89 --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/PerpetualMarketFunding.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "cumulative_funding", + "Type": "string", + "Description": "Defines the cumulative funding of a perpetual market." + }, + { + "Parameter": "cumulative_price", + "Type": "string", + "Description": "Defines defines the cumulative price for the current hour up to the last timestamp." + }, + { + "Parameter": "last_timestamp", + "Type": "int64", + "Description": "Defines the last funding timestamp in seconds of a perpetual market in UNIX seconds." + }, + { + "Parameter": "last_funding_rate", + "Type": "string", + "Description": "Defines the last funding rate of a perpetual market." + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/PerpetualMarketInfo.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/PerpetualMarketInfo.json new file mode 100644 index 00000000..5d0b87a2 --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/PerpetualMarketInfo.json @@ -0,0 +1,22 @@ +[ + { + "Parameter": "hourly_funding_rate_cap", + "Type": "string", + "Description": "Defines the default maximum absolute value of the hourly funding rate of the perpetual market." + }, + { + "Parameter": "hourly_interest_rate", + "Type": "string", + "Description": "Defines the hourly interest rate of the perpetual market." + }, + { + "Parameter": "next_funding_timestamp", + "Type": "int64", + "Description": "Defines the next funding timestamp in seconds of a perpetual market in UNIX seconds." + }, + { + "Parameter": "funding_interval", + "Type": "int64", + "Description": "Defines the funding interval in seconds of a perpetual market in seconds." + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesRequest.json index 95ffe166..ec4482ed 100644 --- a/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesRequest.json +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/StreamTradesRequest.json @@ -16,5 +16,11 @@ "Type": "string", "Description": "filter synthetic trades by RFQ maker address (only emits maker-side synthetic trades whose rfqMaker equals this address)", "Required": "Yes" + }, + { + "Parameter": "participant", + "Type": "string", + "Description": "filter trades including the address as trade account, RFQ maker, or RFQ proxy participant", + "Required": "Yes" } ] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeTrade.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeTrade.json index 9a231719..8dd45687 100644 --- a/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeTrade.json +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TCDerivativeTrade.json @@ -102,11 +102,16 @@ { "Parameter": "rfq_id", "Type": "uint64", - "Description": "RFQ identifier the synthetic trade was settled under (set only on synthetic trades coming from an RFQ settlement)" + "Description": "RFQ identifier associated with this trade. Set on synthetic RFQ settlement trades and on trades attributed to an atomic RFQ proxy execution; presence alone does not mean the trade is a settlement fill." }, { "Parameter": "tx_hash", "Type": "string", "Description": "Transaction hash where the trade was executed" + }, + { + "Parameter": "rfq_participant", + "Type": "string", + "Description": "RFQ participant address attributed through atomic RFQ proxy execution" } ] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TokenMeta.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TokenMeta.json new file mode 100644 index 00000000..0a644cab --- /dev/null +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TokenMeta.json @@ -0,0 +1,32 @@ +[ + { + "Parameter": "name", + "Type": "string", + "Description": "Token full name" + }, + { + "Parameter": "address", + "Type": "string", + "Description": "Token contract address (native or not)" + }, + { + "Parameter": "symbol", + "Type": "string", + "Description": "Token symbol short name" + }, + { + "Parameter": "logo", + "Type": "string", + "Description": "URL to the logo image" + }, + { + "Parameter": "decimals", + "Type": "int32", + "Description": "Token decimals" + }, + { + "Parameter": "updated_at", + "Type": "int64", + "Description": "Token metadata fetched timestamp in UNIX millis." + } +] diff --git a/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json index 017791e1..f6683c8b 100644 --- a/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json +++ b/source/json_tables/indexer/injective_tc_derivatives_rpc/TradesRequest.json @@ -68,7 +68,7 @@ { "Parameter": "participant", "Type": "string", - "Description": "filter trades including the address as RFQ maker or the trade account address", + "Description": "filter trades including the address as trade account, RFQ maker, or RFQ proxy participant", "Required": "Yes" } ] diff --git a/source/json_tables/injective/exchange/SpotMarketOrderResults.json b/source/json_tables/injective/exchange/SpotMarketOrderResults.json index 38d5ec3d..07c34245 100644 --- a/source/json_tables/injective/exchange/SpotMarketOrderResults.json +++ b/source/json_tables/injective/exchange/SpotMarketOrderResults.json @@ -13,5 +13,10 @@ "Parameter": "fee", "Type": "LegacyDec", "Description": "" + }, + { + "Parameter": "notional", + "Type": "LegacyDec", + "Description": "the fee-exclusive quote amount actually settled for the trade (in chain format)" } ] diff --git a/source/json_tables/injective/exchange/TradeLog.json b/source/json_tables/injective/exchange/TradeLog.json index 96a1c8fb..7770c183 100644 --- a/source/json_tables/injective/exchange/TradeLog.json +++ b/source/json_tables/injective/exchange/TradeLog.json @@ -33,5 +33,10 @@ "Parameter": "cid", "Type": "string", "Description": "" + }, + { + "Parameter": "notional", + "Type": "LegacyDec", + "Description": "the fee-exclusive quote amount actually settled for the trade (in chain format)" } ] diff --git a/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json b/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json index 38d5ec3d..5f740b76 100644 --- a/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json +++ b/source/json_tables/injective/exchange/v2/SpotMarketOrderResults.json @@ -13,5 +13,10 @@ "Parameter": "fee", "Type": "LegacyDec", "Description": "" + }, + { + "Parameter": "notional", + "Type": "LegacyDec", + "Description": "the fee-exclusive quote amount actually settled for the trade (in human readable format)" } ] diff --git a/source/json_tables/injective/exchange/v2/TradeLog.json b/source/json_tables/injective/exchange/v2/TradeLog.json index 96a1c8fb..9816fd1f 100644 --- a/source/json_tables/injective/exchange/v2/TradeLog.json +++ b/source/json_tables/injective/exchange/v2/TradeLog.json @@ -33,5 +33,10 @@ "Parameter": "cid", "Type": "string", "Description": "" + }, + { + "Parameter": "notional", + "Type": "LegacyDec", + "Description": "the fee-exclusive quote amount actually settled for the trade (in human readable format)" } ] diff --git a/source/json_tables/injective/stream/SpotTrade.json b/source/json_tables/injective/stream/SpotTrade.json index fd2d59d8..18a6efd5 100644 --- a/source/json_tables/injective/stream/SpotTrade.json +++ b/source/json_tables/injective/stream/SpotTrade.json @@ -53,5 +53,10 @@ "Parameter": "trade_id", "Type": "string", "Description": "the trade ID" + }, + { + "Parameter": "notional", + "Type": "LegacyDec", + "Description": "the fee-exclusive quote amount actually settled for the trade (in chain format)" } ] diff --git a/source/json_tables/injective/stream/v2/SpotTrade.json b/source/json_tables/injective/stream/v2/SpotTrade.json index f2c27149..54f64ab1 100644 --- a/source/json_tables/injective/stream/v2/SpotTrade.json +++ b/source/json_tables/injective/stream/v2/SpotTrade.json @@ -53,5 +53,10 @@ "Parameter": "trade_id", "Type": "string", "Description": "the trade ID" + }, + { + "Parameter": "notional", + "Type": "LegacyDec", + "Description": "the fee-exclusive quote amount actually settled for the trade (in human readable format)" } ]