types

package
v0.0.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 40 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ModuleName = "uregistry"

	StoreKey = ModuleName

	QuerierRoute = ModuleName
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const PROXY_ADMIN_OWNER_ADDRESS_HEX = "0xa96CaA79eb2312DbEb0B8E93c1Ce84C98b67bF11"

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ParamsKey saves the current module params.
	ParamsKey = collections.NewPrefix(0)

	// ParamsName is the name of the params collection.
	ParamsName = "params"

	// ChainConfigsKey saves the current module chainConfigs collection prefix
	ChainConfigsKey = collections.NewPrefix(1)

	// ChainConfigsName is the name of the chainConfigs collection.
	ChainConfigsName = "chain_configs"

	// TokenConfigsKey saves the current module tokenConfigs collection prefix
	TokenConfigsKey = collections.NewPrefix(2)

	// TokenConfigsName is the name of the tokenConfigs collection.
	TokenConfigsName = "token_configs"

	// PRC20Index secondary index on TokenConfigs: canonical (EIP-55) PRC20 → storage key.
	PRC20IndexKey  = collections.NewPrefix(3)
	PRC20IndexName = "prc20_index"
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthState        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowState          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupState = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	AminoCdc = codec.NewAminoCodec(amino)
)
View Source
var BYTECODE = map[string]ByteCodes{
	"UNIVERSAL_CORE": {
		IMPL_RUNTIME:  common.FromHex("0x608060405234801561000f575f80fd5b5060043610610235575f3560e01c80638456cb591161013d578063c344869f116100b8578063d72950b911610088578063db9a0daf1161006e578063db9a0daf1461062f578063f8c8765e14610642578063fb46e99d14610655575f80fd5b8063d72950b9146105fd578063d7fd7afb14610610575f80fd5b8063c344869f14610590578063c6f1b7e7146105b0578063d17c872c146105d7578063d547741f146105ea575f80fd5b8063a7cb05071161010d578063ad14d385116100f3578063ad14d3851461053b578063b8efe3341461055d578063be0580c01461057d575f80fd5b8063a7cb0507146104f0578063a861469f14610503575f80fd5b80638456cb591461046a578063870152b71461047257806391d1485414610485578063a217fddf146104e9575f80fd5b80634c41e45b116101cd57806364f10e501161019d5780637471e697116101835780637471e69714610402578063780ad8271461043757806380f5db8c1461044a575f80fd5b806364f10e50146103d05780636d4008a8146103e3575f80fd5b80634c41e45b1461036d57806357724c41146103805780635c975abb146103935780636341c64d146103bd575f80fd5b80632f2ff15d116102085780632f2ff15d1461031f57806336568abe146103325780633f4ba83a1461034557806346c72fdd1461034d575f80fd5b806301ffc9a7146102395780630ac6eb7714610261578063248a9ca31461027657806329ab0999146102c5575b5f80fd5b61024c610247366004612807565b61065e565b60405190151581526020015b60405180910390f35b61027461026f36600461287b565b6106f6565b005b6102b76102843660046128b2565b5f9081527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800602052604090206001015490565b604051908152602001610258565b6102fa6102d33660046128b2565b60026020525f908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610258565b61027461032d3660046128c9565b6107eb565b6102746103403660046128c9565b610834565b610274610892565b600a546102fa9073ffffffffffffffffffffffffffffffffffffffff1681565b61027461037b3660046128c9565b610903565b61027461038e3660046128ec565b610a42565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033005460ff1661024c565b6102746103cb366004612916565b610b97565b6102746103de366004612931565b610cc5565b6102b76103f1366004612916565b60056020525f908152604090205481565b6102fa6104103660046128b2565b60016020525f908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b610274610445366004612987565b610efe565b6007546102fa9073ffffffffffffffffffffffffffffffffffffffff1681565b610274611723565b6102b76104803660046129e6565b611792565b61024c6104933660046128c9565b5f9182527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020908152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b6102b75f81565b6102746104fe366004612a32565b61184e565b610527610511366004612916565b60046020525f908152604090205462ffffff1681565b60405162ffffff9091168152602001610258565b61024c610549366004612916565b60036020525f908152604090205460ff1681565b6008546102fa9073ffffffffffffffffffffffffffffffffffffffff1681565b61027461058b366004612a52565b611902565b6009546102fa9073ffffffffffffffffffffffffffffffffffffffff1681565b6102fa7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d781565b6102746105e5366004612a8f565b611a9f565b6102746105f83660046128c9565b611c40565b61027461060b366004612ac2565b611c83565b6102b761061e3660046128b2565b5f6020819052908152604090205481565b61027461063d3660046128b2565b611f56565b610274610650366004612afd565b611ff2565b6102b760065481565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806106f057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff1661075d576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82165f8181526003602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168515159081179091558251938452908301527f42cc79f957a9535dc49c660eec62747fb540bef0dd29cd7f6c0a810816af4cff91015b60405180910390a15050565b5f8281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020526040902060010154610824816121df565b61082e83836121ec565b50505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610883576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61088d8282612311565b505050565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff166108f9576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109016123ed565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d71614610972576040517f53e5172300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166109bf576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526001602090815260409182902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091558251858152918201527f8b271b911412760455cb18c071214aa6db462fceae6aafa4970ca6d6cc3413e291016107df565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff16610aa9576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610af6576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611388811115610b32576040517fc31c0b6e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82165f8181526005602052604090819020839055517fe3e43e0700c35d0879972f000dc93907848b11360702f11ebbe14479866f806090610b8b9084815260200190565b60405180910390a25050565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff16610bfe576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116610c4b576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fc2d9f94b2a169da07b0305c4fcdf5e7d988c6e4793af0796516c96727a90b70e906020015b60405180910390a150565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d71614610d34576040517f53e5172300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d3c612484565b7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610dab575073ffffffffffffffffffffffffffffffffffffffff811630145b15610de2576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8316610e2f576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815f03610e68576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f47e7ef2400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152602482018490528416906347e7ef24906044016020604051808303815f875af1158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082e9190612b56565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d71614610f6d576040517f53e5172300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f75612484565b610f7d6124e0565b7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610fec575073ffffffffffffffffffffffffffffffffffffffff841630145b15611023576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8616611070576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b845f036110a9576040517f1f2a200500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff86165f9081526003602052604090205460ff16611107576040517f4e38f95a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8262ffffff165f036111785773ffffffffffffffffffffffffffffffffffffffff86165f9081526004602052604081205462ffffff169350839003611178576040517f3733548a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f0361119a5760065461118d90603c612b9e565b6111979042612bb5565b90505b804211156111d4576040517f1ab7da6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754600a545f9173ffffffffffffffffffffffffffffffffffffffff90811691631698ee8291908116908a161061122457600a5473ffffffffffffffffffffffffffffffffffffffff16611226565b885b600a5473ffffffffffffffffffffffffffffffffffffffff908116908b161061124f5789611269565b600a5473ffffffffffffffffffffffffffffffffffffffff165b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff92831660048201529116602482015262ffffff87166044820152606401602060405180830381865afa1580156112e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113069190612bc8565b905073ffffffffffffffffffffffffffffffffffffffff8116611355576040517f76ecffc000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b825f0361139457600a545f9061138490899073ffffffffffffffffffffffffffffffffffffffff16878a611792565b90506113908189612561565b9350505b6040517f47e7ef240000000000000000000000000000000000000000000000000000000081523060048201526024810187905273ffffffffffffffffffffffffffffffffffffffff8816906347e7ef24906044016020604051808303815f875af1158015611404573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114289190612b56565b506008546040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152602481018890529088169063095ea7b3906044016020604051808303815f875af115801561149f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c39190612b56565b50604080516101008101825273ffffffffffffffffffffffffffffffffffffffff808a168252600a548116602083015262ffffff87168284015287811660608301526080820185905260a0820189905260c082018690525f60e0830181905260085493517f414bf3890000000000000000000000000000000000000000000000000000000081529293909291169063414bf38990611565908590600401612be3565b6020604051808303815f875af1158015611581573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a59190612ca1565b9050848110156115e1576040517f8199f5f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008546040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201525f6024820152908a169063095ea7b3906044016020604051808303815f875af1158015611656573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167a9190612b56565b50600a546040805173ffffffffffffffffffffffffffffffffffffffff8c81168252602082018c9052928316818301526060810184905262ffffff8916608082015291891660a0830152517ff5d6ca9b390b5271e0cbb3d43b4d708d5b17804cb81a4c65e027226d87ccf0e29181900360c00190a150505061171b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b505050505050565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff1661178a576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109016125e1565b6009546040517ff7729d4300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152858116602483015262ffffff85166044830152606482018490525f6084830181905292169063f7729d439060a401602060405180830381865afa158015611821573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118459190612ca1565b95945050505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d716146118bd576040517f53e5172300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f828152602081815260409182902083905581518481529081018390527f49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d91016107df565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff16611969576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831615806119a0575073ffffffffffffffffffffffffffffffffffffffff8216155b806119bf575073ffffffffffffffffffffffffffffffffffffffff8116155b156119f6576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007805473ffffffffffffffffffffffffffffffffffffffff8581167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811790935560088054868316908416811790915560098054928616929093168217909255604080519384526020840192909252908201527f95d3bff4dd1ae411fd49ebc9fcc62f464b6b60cd9b4eacd860da89045c8d4c829060600160405180910390a1505050565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff16611b06576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611b53576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8062ffffff166101f414158015611b7157508062ffffff16610bb814155b8015611b8457508062ffffff1661271014155b15611bbb576040517f3733548a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82165f8181526004602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001662ffffff861690811790915591519182527f5734dc08ec8c21bd34e0f102d90ea2d1a9dbdcf23e787dc8744d2d0dd227fc739101610b8b565b5f8281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020526040902060010154611c79816121df565b61082e8383612311565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000014191ea54b4c176fcf86f51b0fac7cb1e71df7d71614611cf2576040517f53e5172300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611d3f576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754600a545f9173ffffffffffffffffffffffffffffffffffffffff90811691631698ee8291868116911610611d765784611d90565b600a5473ffffffffffffffffffffffffffffffffffffffff165b600a5473ffffffffffffffffffffffffffffffffffffffff808816911610611dd057600a5473ffffffffffffffffffffffffffffffffffffffff16611dd2565b855b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff92831660048201529116602482015262ffffff85166044820152606401602060405180830381865afa158015611e4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6f9190612bc8565b905073ffffffffffffffffffffffffffffffffffffffff8116611ebe576040517f76ecffc000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f84815260026020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff85167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915582518781529182015262ffffff84168183015290517f7244bfef15392f292bf588d8e7d1cf8b5744ac99916bcf125dd7359f8229741e9181900360600190a150505050565b335f9081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff16611fbd576040517f6db2465f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60068190556040518181527f424b07caa75ce8e1c3985f334273f957db9ce138de114e48e50d8240d4d7300b90602001610cba565b5f611ffb61265a565b805490915060ff68010000000000000000820416159067ffffffffffffffff165f811580156120275750825b90505f8267ffffffffffffffff1660011480156120435750303b155b905081158015612051575080155b15612088576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000016600117855583156120e95784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff16680100000000000000001785555b6120f1612682565b6120f9612692565b6121035f336121ec565b50600a805473ffffffffffffffffffffffffffffffffffffffff808c167fffffffffffffffffffffffff000000000000000000000000000000000000000092831617909255600780548b8416908316179055600880548a8416908316179055600980549289169290911691909117905583156121d45784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b6121e9813361269a565b50565b5f8281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020818152604080842073ffffffffffffffffffffffffffffffffffffffff8616855290915282205460ff16612301575f8481526020828152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905561229d3390565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019150506106f0565b5f9150506106f0565b5092915050565b5f8281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020818152604080842073ffffffffffffffffffffffffffffffffffffffff8616855290915282205460ff1615612301575f8481526020828152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a460019150506106f0565b6123f5612748565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f0330080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001681557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610cba565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033005460ff1615610901576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0161255b576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260056020526040812054808203612592575061012c5b61271061259f8282612cb8565b6125a99086612b9e565b6125b39190612ccb565b949350505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6125e9612484565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f0330080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011781557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2583361245f565b5f807ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a006106f0565b61268a6127a3565b6109016127e1565b6109016127a3565b5f8281527f02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b6268006020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16612744576040517fe2517d3f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024810183905260440160405180910390fd5b5050565b7fcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033005460ff16610901576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127ab6127e9565b610901576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125bb6127a3565b5f6127f261265a565b5468010000000000000000900460ff16919050565b5f60208284031215612817575f80fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114612846575f80fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff811681146121e9575f80fd5b80151581146121e9575f80fd5b5f806040838503121561288c575f80fd5b82356128978161284d565b915060208301356128a78161286e565b809150509250929050565b5f602082840312156128c2575f80fd5b5035919050565b5f80604083850312156128da575f80fd5b8235915060208301356128a78161284d565b5f80604083850312156128fd575f80fd5b82356129088161284d565b946020939093013593505050565b5f60208284031215612926575f80fd5b81356128468161284d565b5f805f60608486031215612943575f80fd5b833561294e8161284d565b92506020840135915060408401356129658161284d565b809150509250925092565b803562ffffff81168114612982575f80fd5b919050565b5f805f805f8060c0878903121561299c575f80fd5b86356129a78161284d565b95506020870135945060408701356129be8161284d565b93506129cc60608801612970565b9598949750929560808101359460a0909101359350915050565b5f805f80608085870312156129f9575f80fd5b8435612a048161284d565b93506020850135612a148161284d565b9250612a2260408601612970565b9396929550929360600135925050565b5f8060408385031215612a43575f80fd5b50508035926020909101359150565b5f805f60608486031215612a64575f80fd5b8335612a6f8161284d565b92506020840135612a7f8161284d565b915060408401356129658161284d565b5f8060408385031215612aa0575f80fd5b8235612aab8161284d565b9150612ab960208401612970565b90509250929050565b5f805f60608486031215612ad4575f80fd5b833592506020840135612ae68161284d565b9150612af460408501612970565b90509250925092565b5f805f8060808587031215612b10575f80fd5b8435612b1b8161284d565b93506020850135612b2b8161284d565b92506040850135612b3b8161284d565b91506060850135612b4b8161284d565b939692955090935050565b5f60208284031215612b66575f80fd5b81516128468161286e565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b80820281158282048414176106f0576106f0612b71565b808201808211156106f0576106f0612b71565b5f60208284031215612bd8575f80fd5b81516128468161284d565b5f6101008201905073ffffffffffffffffffffffffffffffffffffffff835116825273ffffffffffffffffffffffffffffffffffffffff602084015116602083015262ffffff60408401511660408301526060830151612c5b606084018273ffffffffffffffffffffffffffffffffffffffff169052565b506080830151608083015260a083015160a083015260c083015160c083015260e083015161230a60e084018273ffffffffffffffffffffffffffffffffffffffff169052565b5f60208284031215612cb1575f80fd5b5051919050565b818103818111156106f0576106f0612b71565b5f82612cfe577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b50049056fea2646970667358221220f102edc7110a17c4fe26e67045e3f889c0f88c7cacbca5546a254d440180abf764736f6c634300081a0033"),
		PROXY_RUNTIME: common.FromHex("0x608060405261000c61000e565b005b7f000000000000000000000000f2000000000000000000000000000000000000c073ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033"),
		ADMIN_RUNTIME: ProxyAdminRuntimeBytecode,
	},
	"UNIVERSAL_BATCH_CALL": {
		IMPL_RUNTIME:  ReservedImplRuntimeBytecode,
		PROXY_RUNTIME: common.FromHex("0x608060405261000c61000e565b005b7f000000000000000000000000f2000000000000000000000000000000000000BC73ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033"),
		ADMIN_RUNTIME: ProxyAdminRuntimeBytecode,
	},
	"UNIVERSAL_GATEWAY_PC": {
		IMPL_RUNTIME:  ReservedImplRuntimeBytecode,
		PROXY_RUNTIME: common.FromHex("0x608060405261000c61000e565b005b7f000000000000000000000000f2000000000000000000000000000000000000c173ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033"),
		ADMIN_RUNTIME: ProxyAdminRuntimeBytecode,
	},
	"RESERVED_0": {
		IMPL_RUNTIME:  ReservedImplRuntimeBytecode,
		PROXY_RUNTIME: common.FromHex("0x608060405261000c61000e565b005b7f000000000000000000000000f2000000000000000000000000000000000000b073ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033"),
		ADMIN_RUNTIME: ProxyAdminRuntimeBytecode,
	},
	"RESERVED_1": {
		IMPL_RUNTIME:  ReservedImplRuntimeBytecode,
		PROXY_RUNTIME: common.FromHex("0x608060405261000c61000e565b005b7f000000000000000000000000F2000000000000000000000000000000000000b173ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033"),
		ADMIN_RUNTIME: ProxyAdminRuntimeBytecode,
	},
	"RESERVED_2": {
		IMPL_RUNTIME:  ReservedImplRuntimeBytecode,
		PROXY_RUNTIME: common.FromHex("0x608060405261000c61000e565b005b7f000000000000000000000000f2000000000000000000000000000000000000b273ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033"),
		ADMIN_RUNTIME: ProxyAdminRuntimeBytecode,
	},
}

BYTECODE holds all system contracts

View Source
var ConfirmationType_name = map[int32]string{
	0: "CONFIRMATION_UNKNOWN",
	1: "CONFIRMATION_TYPE_STANDARD",
	2: "CONFIRMATION_TYPE_FAST",
}
View Source
var ConfirmationType_value = map[string]int32{
	"CONFIRMATION_UNKNOWN":       0,
	"CONFIRMATION_TYPE_STANDARD": 1,
	"CONFIRMATION_TYPE_FAST":     2,
}
View Source
var GATEWAY_METHOD = struct {
	SVM struct {
		AddFunds string
	}
	EVM struct {
		AddFunds string
	}
}{
	SVM: struct{ AddFunds string }{AddFunds: "add_funds"},
	EVM: struct{ AddFunds string }{AddFunds: "addFunds"},
}
View Source
var PROXY_ADMIN_SLOT = common.HexToHash("0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103")
View Source
var PROXY_IMPLEMENTATION_SLOT = common.HexToHash("0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc")
View Source
var ProxyAdminRuntimeBytecode = common.FromHex("0x608060405260043610610058575f3560e01c80639623609d116100415780639623609d146100aa578063ad3cb1cc146100bd578063f2fde38b14610112575f80fd5b8063715018a61461005c5780638da5cb5b14610072575b5f80fd5b348015610067575f80fd5b50610070610131565b005b34801561007d575f80fd5b505f5460405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100706100b8366004610351565b610144565b3480156100c8575f80fd5b506101056040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b6040516100a191906104c6565b34801561011d575f80fd5b5061007061012c3660046104df565b6101d5565b61013961023d565b6101425f61028f565b565b61014c61023d565b6040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690634f1ef2869034906101a290869086906004016104fa565b5f604051808303818588803b1580156101b9575f80fd5b505af11580156101cb573d5f803e3d5ffd5b5050505050505050565b6101dd61023d565b73ffffffffffffffffffffffffffffffffffffffff8116610231576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b61023a8161028f565b50565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610142576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610228565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff8116811461023a575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f805f60608486031215610363575f80fd5b833561036e81610303565b9250602084013561037e81610303565b9150604084013567ffffffffffffffff811115610399575f80fd5b8401601f810186136103a9575f80fd5b803567ffffffffffffffff8111156103c3576103c3610324565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561042f5761042f610324565b604052818152828201602001881015610446575f80fd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084525f5b818110156104895760208185018101518683018201520161046d565b505f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6104d86020830184610465565b9392505050565b5f602082840312156104ef575f80fd5b81356104d881610303565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201525f6105286040830184610465565b94935050505056fea26469706673582212209ce80139bf41b00bc44c4532122ff649c1e8542240b8a5c13f39af0d72f21b2364736f6c634300081a0033")
View Source
var ReservedImplRuntimeBytecode = common.FromHex("0x608060405234801561000f575f80fd5b5060043610610029575f3560e01c80638129fc1c1461002d575b5f80fd5b610035610037565b005b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f811580156100815750825b90505f8267ffffffffffffffff16600114801561009d5750303b155b9050811580156100ab575080155b156100e2576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000016600117855583156101435784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff16680100000000000000001785555b83156101a45784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505056fea264697066735822122067759ca19e64260eded4619739d9d3613e5c6beda9c744a338acbb6dee63b39664736f6c634300081a0033")
View Source
var SYSTEM_CONTRACTS = map[string]ContractAddresses{
	"UNIVERSAL_CORE": {
		Address:        "0x00000000000000000000000000000000000000C0",
		ProxyAdmin:     "0xf2000000000000000000000000000000000000c0",
		Implementation: "0xF1000000000000000000000000000000000000c0",
	},
	"UNIVERSAL_BATCH_CALL": {
		Address:        "0x00000000000000000000000000000000000000Bc",
		ProxyAdmin:     "0xf2000000000000000000000000000000000000BC",
		Implementation: "0xF1000000000000000000000000000000000000Bc",
	},
	"UNIVERSAL_GATEWAY_PC": {
		Address:        "0x00000000000000000000000000000000000000C1",
		ProxyAdmin:     "0xF2000000000000000000000000000000000000C1",
		Implementation: "0xF1000000000000000000000000000000000000C1",
	},
	"RESERVED_0": {
		Address:        "0x00000000000000000000000000000000000000B0",
		ProxyAdmin:     "0xF2000000000000000000000000000000000000b0",
		Implementation: "0xf1000000000000000000000000000000000000b0",
	},
	"RESERVED_1": {
		Address:        "0x00000000000000000000000000000000000000B1",
		ProxyAdmin:     "0xF2000000000000000000000000000000000000b1",
		Implementation: "0xf1000000000000000000000000000000000000b1",
	},
	"RESERVED_2": {
		Address:        "0x00000000000000000000000000000000000000b2",
		ProxyAdmin:     "0xf2000000000000000000000000000000000000b2",
		Implementation: "0xF1000000000000000000000000000000000000b2",
	},
}

SYSTEM_CONTRACTS holds all system contracts

View Source
var TokenType_name = map[int32]string{
	0: "UNKNOWN_TOKEN",
	1: "ERC20",
	2: "ERC721",
	3: "ERC1155",
	4: "SPL",
}
View Source
var TokenType_value = map[string]int32{
	"UNKNOWN_TOKEN": 0,
	"ERC20":         1,
	"ERC721":        2,
	"ERC1155":       3,
	"SPL":           4,
}
View Source
var VmType_name = map[int32]string{
	0: "UNKNOWN_VM",
	1: "EVM",
	2: "SVM",
	3: "MOVE_VM",
	4: "WASM_VM",
	5: "CAIRO_VM",
	6: "TRON_VM",
	7: "STELLAR_VM",
	8: "BITCOIN_SCRIPT",
	9: "OTHER_VM",
}
View Source
var VmType_value = map[string]int32{
	"UNKNOWN_VM":     0,
	"EVM":            1,
	"SVM":            2,
	"MOVE_VM":        3,
	"WASM_VM":        4,
	"CAIRO_VM":       5,
	"TRON_VM":        6,
	"STELLAR_VM":     7,
	"BITCOIN_SCRIPT": 8,
	"OTHER_VM":       9,
}

Functions

func CanonicalTokenAddress added in v0.0.40

func CanonicalTokenAddress(chain, address string) string

CanonicalTokenAddress is the lenient canonicalizer used for key paths: canonical form when the address parses, trimmed input otherwise.

func GetTokenConfigsStorageKey

func GetTokenConfigsStorageKey(chain, address string) string

GetTokenConfigsStorageKey builds the "chain:address" key with the address canonicalized per namespace, so case variants map to one row. Strict format enforcement is in TokenConfig.ValidateBasic.

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type BlockConfirmation

type BlockConfirmation struct {
	FastInbound     uint32 `protobuf:"varint,1,opt,name=fast_inbound,json=fastInbound,proto3" json:"fast_inbound,omitempty"`
	StandardInbound uint32 `protobuf:"varint,2,opt,name=standard_inbound,json=standardInbound,proto3" json:"standard_inbound,omitempty"`
}

BlockConfirmation defines the number of blocks to wait for confirmation on the external chain

func (*BlockConfirmation) Descriptor

func (*BlockConfirmation) Descriptor() ([]byte, []int)

func (*BlockConfirmation) Equal

func (this *BlockConfirmation) Equal(that interface{}) bool

func (*BlockConfirmation) GetFastInbound

func (m *BlockConfirmation) GetFastInbound() uint32

func (*BlockConfirmation) GetStandardInbound

func (m *BlockConfirmation) GetStandardInbound() uint32

func (*BlockConfirmation) Marshal

func (m *BlockConfirmation) Marshal() (dAtA []byte, err error)

func (*BlockConfirmation) MarshalTo

func (m *BlockConfirmation) MarshalTo(dAtA []byte) (int, error)

func (*BlockConfirmation) MarshalToSizedBuffer

func (m *BlockConfirmation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockConfirmation) ProtoMessage

func (*BlockConfirmation) ProtoMessage()

func (*BlockConfirmation) Reset

func (m *BlockConfirmation) Reset()

func (*BlockConfirmation) Size

func (m *BlockConfirmation) Size() (n int)

func (BlockConfirmation) String

func (p BlockConfirmation) String() string

Stringer method for BlockConfirmation

func (*BlockConfirmation) Unmarshal

func (m *BlockConfirmation) Unmarshal(dAtA []byte) error

func (BlockConfirmation) ValidateBasic

func (p BlockConfirmation) ValidateBasic() error

ValidateBasic performs sanity checks on the BlockConfirmation

func (*BlockConfirmation) XXX_DiscardUnknown

func (m *BlockConfirmation) XXX_DiscardUnknown()

func (*BlockConfirmation) XXX_Marshal

func (m *BlockConfirmation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockConfirmation) XXX_Merge

func (m *BlockConfirmation) XXX_Merge(src proto.Message)

func (*BlockConfirmation) XXX_Size

func (m *BlockConfirmation) XXX_Size() int

func (*BlockConfirmation) XXX_Unmarshal

func (m *BlockConfirmation) XXX_Unmarshal(b []byte) error

type ByteCodes

type ByteCodes struct {
	IMPL_RUNTIME  []byte
	PROXY_RUNTIME []byte
	ADMIN_RUNTIME []byte
}

type ChainConfig

type ChainConfig struct {
	Chain                  string             `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	VmType                 VmType             `protobuf:"varint,2,opt,name=vm_type,json=vmType,proto3,enum=uregistry.v1.VmType" json:"vm_type,omitempty"`
	PublicRpcUrl           string             `protobuf:"bytes,3,opt,name=public_rpc_url,json=publicRpcUrl,proto3" json:"public_rpc_url,omitempty"`
	GatewayAddress         string             `protobuf:"bytes,4,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"`
	BlockConfirmation      *BlockConfirmation `protobuf:"bytes,5,opt,name=block_confirmation,json=blockConfirmation,proto3" json:"block_confirmation,omitempty"`
	GatewayMethods         []*GatewayMethods  `protobuf:"bytes,6,rep,name=gateway_methods,json=gatewayMethods,proto3" json:"gateway_methods,omitempty"`
	Enabled                *ChainEnabled      `protobuf:"bytes,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	GasOracleFetchInterval time.Duration      `` /* 133-byte string literal not displayed */
	VaultMethods           []*VaultMethods    `protobuf:"bytes,9,rep,name=vault_methods,json=vaultMethods,proto3" json:"vault_methods,omitempty"`
	TssSigningDeadline     *time.Duration     `` /* 130-byte string literal not displayed */
}

ChainConfig defines the configuration for a supported source or destination chain

func (*ChainConfig) Descriptor

func (*ChainConfig) Descriptor() ([]byte, []int)

func (*ChainConfig) Equal

func (this *ChainConfig) Equal(that interface{}) bool

func (*ChainConfig) GetBlockConfirmation

func (m *ChainConfig) GetBlockConfirmation() *BlockConfirmation

func (*ChainConfig) GetChain

func (m *ChainConfig) GetChain() string

func (*ChainConfig) GetEnabled

func (m *ChainConfig) GetEnabled() *ChainEnabled

func (*ChainConfig) GetGasOracleFetchInterval

func (m *ChainConfig) GetGasOracleFetchInterval() time.Duration

func (*ChainConfig) GetGatewayAddress

func (m *ChainConfig) GetGatewayAddress() string

func (*ChainConfig) GetGatewayMethods

func (m *ChainConfig) GetGatewayMethods() []*GatewayMethods

func (*ChainConfig) GetPublicRpcUrl

func (m *ChainConfig) GetPublicRpcUrl() string

func (*ChainConfig) GetTssSigningDeadline added in v0.0.36

func (m *ChainConfig) GetTssSigningDeadline() *time.Duration

func (*ChainConfig) GetVaultMethods added in v0.0.18

func (m *ChainConfig) GetVaultMethods() []*VaultMethods

func (*ChainConfig) GetVmType

func (m *ChainConfig) GetVmType() VmType

func (*ChainConfig) Marshal

func (m *ChainConfig) Marshal() (dAtA []byte, err error)

func (*ChainConfig) MarshalTo

func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error)

func (*ChainConfig) MarshalToSizedBuffer

func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainConfig) ProtoMessage

func (*ChainConfig) ProtoMessage()

func (*ChainConfig) Reset

func (m *ChainConfig) Reset()

func (*ChainConfig) Size

func (m *ChainConfig) Size() (n int)

func (ChainConfig) String

func (p ChainConfig) String() string

Stringer method for Params.

func (*ChainConfig) Unmarshal

func (m *ChainConfig) Unmarshal(dAtA []byte) error

func (ChainConfig) ValidateBasic

func (p ChainConfig) ValidateBasic() error

Validate does the sanity check on the params.

func (*ChainConfig) XXX_DiscardUnknown

func (m *ChainConfig) XXX_DiscardUnknown()

func (*ChainConfig) XXX_Marshal

func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainConfig) XXX_Merge

func (m *ChainConfig) XXX_Merge(src proto.Message)

func (*ChainConfig) XXX_Size

func (m *ChainConfig) XXX_Size() int

func (*ChainConfig) XXX_Unmarshal

func (m *ChainConfig) XXX_Unmarshal(b []byte) error

type ChainConfigEntry added in v0.0.23

type ChainConfigEntry struct {
	Key   string      `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value ChainConfig `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
}

ChainConfigEntry is a key-value pair for exporting ChainConfigs map state.

func (*ChainConfigEntry) Descriptor added in v0.0.23

func (*ChainConfigEntry) Descriptor() ([]byte, []int)

func (*ChainConfigEntry) GetKey added in v0.0.23

func (m *ChainConfigEntry) GetKey() string

func (*ChainConfigEntry) GetValue added in v0.0.23

func (m *ChainConfigEntry) GetValue() ChainConfig

func (*ChainConfigEntry) Marshal added in v0.0.23

func (m *ChainConfigEntry) Marshal() (dAtA []byte, err error)

func (*ChainConfigEntry) MarshalTo added in v0.0.23

func (m *ChainConfigEntry) MarshalTo(dAtA []byte) (int, error)

func (*ChainConfigEntry) MarshalToSizedBuffer added in v0.0.23

func (m *ChainConfigEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainConfigEntry) ProtoMessage added in v0.0.23

func (*ChainConfigEntry) ProtoMessage()

func (*ChainConfigEntry) Reset added in v0.0.23

func (m *ChainConfigEntry) Reset()

func (*ChainConfigEntry) Size added in v0.0.23

func (m *ChainConfigEntry) Size() (n int)

func (*ChainConfigEntry) String added in v0.0.23

func (m *ChainConfigEntry) String() string

func (*ChainConfigEntry) Unmarshal added in v0.0.23

func (m *ChainConfigEntry) Unmarshal(dAtA []byte) error

func (*ChainConfigEntry) XXX_DiscardUnknown added in v0.0.23

func (m *ChainConfigEntry) XXX_DiscardUnknown()

func (*ChainConfigEntry) XXX_Marshal added in v0.0.23

func (m *ChainConfigEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainConfigEntry) XXX_Merge added in v0.0.23

func (m *ChainConfigEntry) XXX_Merge(src proto.Message)

func (*ChainConfigEntry) XXX_Size added in v0.0.23

func (m *ChainConfigEntry) XXX_Size() int

func (*ChainConfigEntry) XXX_Unmarshal added in v0.0.23

func (m *ChainConfigEntry) XXX_Unmarshal(b []byte) error

type ChainEnabled

type ChainEnabled struct {
	IsInboundEnabled  bool `protobuf:"varint,1,opt,name=isInboundEnabled,proto3" json:"isInboundEnabled,omitempty"`
	IsOutboundEnabled bool `protobuf:"varint,2,opt,name=isOutboundEnabled,proto3" json:"isOutboundEnabled,omitempty"`
}

ChainEnabled defines if chain is enabled for inbound as well as outbound

func (*ChainEnabled) Descriptor

func (*ChainEnabled) Descriptor() ([]byte, []int)

func (*ChainEnabled) Equal

func (this *ChainEnabled) Equal(that interface{}) bool

func (*ChainEnabled) GetIsInboundEnabled

func (m *ChainEnabled) GetIsInboundEnabled() bool

func (*ChainEnabled) GetIsOutboundEnabled

func (m *ChainEnabled) GetIsOutboundEnabled() bool

func (*ChainEnabled) Marshal

func (m *ChainEnabled) Marshal() (dAtA []byte, err error)

func (*ChainEnabled) MarshalTo

func (m *ChainEnabled) MarshalTo(dAtA []byte) (int, error)

func (*ChainEnabled) MarshalToSizedBuffer

func (m *ChainEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainEnabled) ProtoMessage

func (*ChainEnabled) ProtoMessage()

func (*ChainEnabled) Reset

func (m *ChainEnabled) Reset()

func (*ChainEnabled) Size

func (m *ChainEnabled) Size() (n int)

func (ChainEnabled) String

func (p ChainEnabled) String() string

Stringer method for Params.

func (*ChainEnabled) Unmarshal

func (m *ChainEnabled) Unmarshal(dAtA []byte) error

func (ChainEnabled) ValidateBasic

func (p ChainEnabled) ValidateBasic() error

Validate does the sanity check on the params.

func (*ChainEnabled) XXX_DiscardUnknown

func (m *ChainEnabled) XXX_DiscardUnknown()

func (*ChainEnabled) XXX_Marshal

func (m *ChainEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainEnabled) XXX_Merge

func (m *ChainEnabled) XXX_Merge(src proto.Message)

func (*ChainEnabled) XXX_Size

func (m *ChainEnabled) XXX_Size() int

func (*ChainEnabled) XXX_Unmarshal

func (m *ChainEnabled) XXX_Unmarshal(b []byte) error

type ConfirmationType

type ConfirmationType int32

ConfirmationType defines which type of block confirmation to use

const (
	ConfirmationType_CONFIRMATION_UNKNOWN       ConfirmationType = 0
	ConfirmationType_CONFIRMATION_TYPE_STANDARD ConfirmationType = 1
	ConfirmationType_CONFIRMATION_TYPE_FAST     ConfirmationType = 2
)

func (ConfirmationType) EnumDescriptor

func (ConfirmationType) EnumDescriptor() ([]byte, []int)

func (ConfirmationType) String

func (x ConfirmationType) String() string

type ContractAddresses

type ContractAddresses struct {
	Address        string
	ProxyAdmin     string
	Implementation string
}

type EVMKeeper

type EVMKeeper interface {
	GetAccount(_ sdk.Context, addr common.Address) *statedb.Account
	SetAccount(ctx sdk.Context, addr common.Address, account statedb.Account) error
	SetState(ctx sdk.Context, addr common.Address, key common.Hash, value []byte)
	GetCode(_ sdk.Context, codeHash common.Hash) []byte
	SetCode(ctx sdk.Context, codeHash, code []byte)
}

EVMKeeper defines the expected interface for the EVM module.

type ExampleData

type ExampleData struct {
	Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Amount  uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*ExampleData) Descriptor

func (*ExampleData) Descriptor() ([]byte, []int)

func (*ExampleData) GetAccount

func (m *ExampleData) GetAccount() []byte

func (*ExampleData) GetAmount

func (m *ExampleData) GetAmount() uint64

func (*ExampleData) Marshal

func (m *ExampleData) Marshal() (dAtA []byte, err error)

func (*ExampleData) MarshalTo

func (m *ExampleData) MarshalTo(dAtA []byte) (int, error)

func (*ExampleData) MarshalToSizedBuffer

func (m *ExampleData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExampleData) ProtoMessage

func (*ExampleData) ProtoMessage()

func (*ExampleData) Reset

func (m *ExampleData) Reset()

func (*ExampleData) Size

func (m *ExampleData) Size() (n int)

func (*ExampleData) String

func (m *ExampleData) String() string

func (*ExampleData) Unmarshal

func (m *ExampleData) Unmarshal(dAtA []byte) error

func (*ExampleData) XXX_DiscardUnknown

func (m *ExampleData) XXX_DiscardUnknown()

func (*ExampleData) XXX_Marshal

func (m *ExampleData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExampleData) XXX_Merge

func (m *ExampleData) XXX_Merge(src proto.Message)

func (*ExampleData) XXX_Size

func (m *ExampleData) XXX_Size() int

func (*ExampleData) XXX_Unmarshal

func (m *ExampleData) XXX_Unmarshal(b []byte) error

type GatewayMethods

type GatewayMethods struct {
	Name             string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Identifier       string           `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	EventIdentifier  string           `protobuf:"bytes,3,opt,name=event_identifier,json=eventIdentifier,proto3" json:"event_identifier,omitempty"`
	ConfirmationType ConfirmationType `` /* 145-byte string literal not displayed */
}

GatewayMethods defines the configuration for a method that can be used for universal operations

func (*GatewayMethods) Descriptor

func (*GatewayMethods) Descriptor() ([]byte, []int)

func (*GatewayMethods) Equal

func (this *GatewayMethods) Equal(that interface{}) bool

func (*GatewayMethods) GetConfirmationType

func (m *GatewayMethods) GetConfirmationType() ConfirmationType

func (*GatewayMethods) GetEventIdentifier

func (m *GatewayMethods) GetEventIdentifier() string

func (*GatewayMethods) GetIdentifier

func (m *GatewayMethods) GetIdentifier() string

func (*GatewayMethods) GetName

func (m *GatewayMethods) GetName() string

func (*GatewayMethods) Marshal

func (m *GatewayMethods) Marshal() (dAtA []byte, err error)

func (*GatewayMethods) MarshalTo

func (m *GatewayMethods) MarshalTo(dAtA []byte) (int, error)

func (*GatewayMethods) MarshalToSizedBuffer

func (m *GatewayMethods) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayMethods) ProtoMessage

func (*GatewayMethods) ProtoMessage()

func (*GatewayMethods) Reset

func (m *GatewayMethods) Reset()

func (*GatewayMethods) Size

func (m *GatewayMethods) Size() (n int)

func (GatewayMethods) String

func (p GatewayMethods) String() string

Stringer method for Params.

func (*GatewayMethods) Unmarshal

func (m *GatewayMethods) Unmarshal(dAtA []byte) error

func (GatewayMethods) ValidateBasic

func (p GatewayMethods) ValidateBasic() error

Validate does the sanity check on the params.

func (*GatewayMethods) XXX_DiscardUnknown

func (m *GatewayMethods) XXX_DiscardUnknown()

func (*GatewayMethods) XXX_Marshal

func (m *GatewayMethods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayMethods) XXX_Merge

func (m *GatewayMethods) XXX_Merge(src proto.Message)

func (*GatewayMethods) XXX_Size

func (m *GatewayMethods) XXX_Size() int

func (*GatewayMethods) XXX_Unmarshal

func (m *GatewayMethods) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// Params defines all the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// chain_configs are key-value pairs from the ChainConfigs Map.
	ChainConfigs []ChainConfigEntry `protobuf:"bytes,2,rep,name=chain_configs,json=chainConfigs,proto3" json:"chain_configs"`
	// token_configs are key-value pairs from the TokenConfigs Map.
	TokenConfigs []TokenConfigEntry `protobuf:"bytes,3,rep,name=token_configs,json=tokenConfigs,proto3" json:"token_configs"`
	// exported indicates whether this genesis state was produced by an export (true)
	// or is a fresh genesis (false). When true, contract deployments are skipped.
	Exported bool `protobuf:"varint,4,opt,name=exported,proto3" json:"exported,omitempty"`
}

GenesisState defines the module genesis state

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetChainConfigs added in v0.0.23

func (m *GenesisState) GetChainConfigs() []ChainConfigEntry

func (*GenesisState) GetExported added in v0.0.23

func (m *GenesisState) GetExported() bool

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetTokenConfigs added in v0.0.23

func (m *GenesisState) GetTokenConfigs() []TokenConfigEntry

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgAddChainConfig

type MsgAddChainConfig struct {
	// signer is the address authorized to add a chain config
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// The new ChainConfig to add
	ChainConfig *ChainConfig `protobuf:"bytes,2,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"`
}

MsgAddChainConfig defines a message to add a new ChainConfig.

func NewMsgAddChainConfig

func NewMsgAddChainConfig(
	sender sdk.Address,
	chain_config *ChainConfig,
) *MsgAddChainConfig

MsgAddChainConfig creates new instance of MsgAddChainConfig

func (*MsgAddChainConfig) Descriptor

func (*MsgAddChainConfig) Descriptor() ([]byte, []int)

func (*MsgAddChainConfig) GetChainConfig

func (m *MsgAddChainConfig) GetChainConfig() *ChainConfig

func (MsgAddChainConfig) GetSignBytes

func (msg MsgAddChainConfig) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgAddChainConfig) GetSigner

func (m *MsgAddChainConfig) GetSigner() string

func (*MsgAddChainConfig) GetSigners

func (msg *MsgAddChainConfig) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgAddChainConfig message.

func (*MsgAddChainConfig) Marshal

func (m *MsgAddChainConfig) Marshal() (dAtA []byte, err error)

func (*MsgAddChainConfig) MarshalTo

func (m *MsgAddChainConfig) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddChainConfig) MarshalToSizedBuffer

func (m *MsgAddChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddChainConfig) ProtoMessage

func (*MsgAddChainConfig) ProtoMessage()

func (*MsgAddChainConfig) Reset

func (m *MsgAddChainConfig) Reset()

func (MsgAddChainConfig) Route

func (msg MsgAddChainConfig) Route() string

Route returns the name of the module

func (*MsgAddChainConfig) Size

func (m *MsgAddChainConfig) Size() (n int)

func (*MsgAddChainConfig) String

func (m *MsgAddChainConfig) String() string

func (MsgAddChainConfig) Type

func (msg MsgAddChainConfig) Type() string

Type returns the action

func (*MsgAddChainConfig) Unmarshal

func (m *MsgAddChainConfig) Unmarshal(dAtA []byte) error

func (*MsgAddChainConfig) ValidateBasic

func (msg *MsgAddChainConfig) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgAddChainConfig) XXX_DiscardUnknown

func (m *MsgAddChainConfig) XXX_DiscardUnknown()

func (*MsgAddChainConfig) XXX_Marshal

func (m *MsgAddChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddChainConfig) XXX_Merge

func (m *MsgAddChainConfig) XXX_Merge(src proto.Message)

func (*MsgAddChainConfig) XXX_Size

func (m *MsgAddChainConfig) XXX_Size() int

func (*MsgAddChainConfig) XXX_Unmarshal

func (m *MsgAddChainConfig) XXX_Unmarshal(b []byte) error

type MsgAddChainConfigResponse

type MsgAddChainConfigResponse struct {
}

MsgAddChainConfigResponse defines the response for MsgAddChainConfig.

func (*MsgAddChainConfigResponse) Descriptor

func (*MsgAddChainConfigResponse) Descriptor() ([]byte, []int)

func (*MsgAddChainConfigResponse) Marshal

func (m *MsgAddChainConfigResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddChainConfigResponse) MarshalTo

func (m *MsgAddChainConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddChainConfigResponse) MarshalToSizedBuffer

func (m *MsgAddChainConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddChainConfigResponse) ProtoMessage

func (*MsgAddChainConfigResponse) ProtoMessage()

func (*MsgAddChainConfigResponse) Reset

func (m *MsgAddChainConfigResponse) Reset()

func (*MsgAddChainConfigResponse) Size

func (m *MsgAddChainConfigResponse) Size() (n int)

func (*MsgAddChainConfigResponse) String

func (m *MsgAddChainConfigResponse) String() string

func (*MsgAddChainConfigResponse) Unmarshal

func (m *MsgAddChainConfigResponse) Unmarshal(dAtA []byte) error

func (*MsgAddChainConfigResponse) XXX_DiscardUnknown

func (m *MsgAddChainConfigResponse) XXX_DiscardUnknown()

func (*MsgAddChainConfigResponse) XXX_Marshal

func (m *MsgAddChainConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddChainConfigResponse) XXX_Merge

func (m *MsgAddChainConfigResponse) XXX_Merge(src proto.Message)

func (*MsgAddChainConfigResponse) XXX_Size

func (m *MsgAddChainConfigResponse) XXX_Size() int

func (*MsgAddChainConfigResponse) XXX_Unmarshal

func (m *MsgAddChainConfigResponse) XXX_Unmarshal(b []byte) error

type MsgAddTokenConfig

type MsgAddTokenConfig struct {
	// signer is the address authorized to whitelist token configs
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// The token configuration to whitelist
	TokenConfig *TokenConfig `protobuf:"bytes,2,opt,name=token_config,json=tokenConfig,proto3" json:"token_config,omitempty"`
}

MsgAddTokenConfig defines a message to add a new whitelisted TokenConfig.

func NewMsgAddTokenConfig

func NewMsgAddTokenConfig(
	sender sdk.Address,
	token_config *TokenConfig,
) *MsgAddTokenConfig

MsgAddTokenConfig creates new instance of MsgAddTokenConfig

func (*MsgAddTokenConfig) Descriptor

func (*MsgAddTokenConfig) Descriptor() ([]byte, []int)

func (MsgAddTokenConfig) GetSignBytes

func (msg MsgAddTokenConfig) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgAddTokenConfig) GetSigner

func (m *MsgAddTokenConfig) GetSigner() string

func (*MsgAddTokenConfig) GetSigners

func (msg *MsgAddTokenConfig) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgAddTokenConfig message.

func (*MsgAddTokenConfig) GetTokenConfig

func (m *MsgAddTokenConfig) GetTokenConfig() *TokenConfig

func (*MsgAddTokenConfig) Marshal

func (m *MsgAddTokenConfig) Marshal() (dAtA []byte, err error)

func (*MsgAddTokenConfig) MarshalTo

func (m *MsgAddTokenConfig) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddTokenConfig) MarshalToSizedBuffer

func (m *MsgAddTokenConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddTokenConfig) ProtoMessage

func (*MsgAddTokenConfig) ProtoMessage()

func (*MsgAddTokenConfig) Reset

func (m *MsgAddTokenConfig) Reset()

func (MsgAddTokenConfig) Route

func (msg MsgAddTokenConfig) Route() string

Route returns the name of the module

func (*MsgAddTokenConfig) Size

func (m *MsgAddTokenConfig) Size() (n int)

func (*MsgAddTokenConfig) String

func (m *MsgAddTokenConfig) String() string

func (MsgAddTokenConfig) Type

func (msg MsgAddTokenConfig) Type() string

Type returns the action

func (*MsgAddTokenConfig) Unmarshal

func (m *MsgAddTokenConfig) Unmarshal(dAtA []byte) error

func (*MsgAddTokenConfig) ValidateBasic

func (msg *MsgAddTokenConfig) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgAddTokenConfig) XXX_DiscardUnknown

func (m *MsgAddTokenConfig) XXX_DiscardUnknown()

func (*MsgAddTokenConfig) XXX_Marshal

func (m *MsgAddTokenConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddTokenConfig) XXX_Merge

func (m *MsgAddTokenConfig) XXX_Merge(src proto.Message)

func (*MsgAddTokenConfig) XXX_Size

func (m *MsgAddTokenConfig) XXX_Size() int

func (*MsgAddTokenConfig) XXX_Unmarshal

func (m *MsgAddTokenConfig) XXX_Unmarshal(b []byte) error

type MsgAddTokenConfigResponse

type MsgAddTokenConfigResponse struct {
}

MsgAddTokenConfigResponse defines the response for MsgAddTokenConfig.

func (*MsgAddTokenConfigResponse) Descriptor

func (*MsgAddTokenConfigResponse) Descriptor() ([]byte, []int)

func (*MsgAddTokenConfigResponse) Marshal

func (m *MsgAddTokenConfigResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddTokenConfigResponse) MarshalTo

func (m *MsgAddTokenConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddTokenConfigResponse) MarshalToSizedBuffer

func (m *MsgAddTokenConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddTokenConfigResponse) ProtoMessage

func (*MsgAddTokenConfigResponse) ProtoMessage()

func (*MsgAddTokenConfigResponse) Reset

func (m *MsgAddTokenConfigResponse) Reset()

func (*MsgAddTokenConfigResponse) Size

func (m *MsgAddTokenConfigResponse) Size() (n int)

func (*MsgAddTokenConfigResponse) String

func (m *MsgAddTokenConfigResponse) String() string

func (*MsgAddTokenConfigResponse) Unmarshal

func (m *MsgAddTokenConfigResponse) Unmarshal(dAtA []byte) error

func (*MsgAddTokenConfigResponse) XXX_DiscardUnknown

func (m *MsgAddTokenConfigResponse) XXX_DiscardUnknown()

func (*MsgAddTokenConfigResponse) XXX_Marshal

func (m *MsgAddTokenConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddTokenConfigResponse) XXX_Merge

func (m *MsgAddTokenConfigResponse) XXX_Merge(src proto.Message)

func (*MsgAddTokenConfigResponse) XXX_Size

func (m *MsgAddTokenConfigResponse) XXX_Size() int

func (*MsgAddTokenConfigResponse) XXX_Unmarshal

func (m *MsgAddTokenConfigResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// AddChainConfig adds a new ChainConfig entry
	AddChainConfig(ctx context.Context, in *MsgAddChainConfig, opts ...grpc.CallOption) (*MsgAddChainConfigResponse, error)
	// UpdateChainConfig updates an existing ChainConfig entry
	UpdateChainConfig(ctx context.Context, in *MsgUpdateChainConfig, opts ...grpc.CallOption) (*MsgUpdateChainConfigResponse, error)
	// AddTokenConfig adds a new TokenConfig entry
	AddTokenConfig(ctx context.Context, in *MsgAddTokenConfig, opts ...grpc.CallOption) (*MsgAddTokenConfigResponse, error)
	// UpdateTokenConfig updates an existing TokenConfig entry
	UpdateTokenConfig(ctx context.Context, in *MsgUpdateTokenConfig, opts ...grpc.CallOption) (*MsgUpdateTokenConfigResponse, error)
	// RemoveTokenConfig removes an existing TokenConfig entry
	RemoveTokenConfig(ctx context.Context, in *MsgRemoveTokenConfig, opts ...grpc.CallOption) (*MsgRemoveTokenConfigResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgRemoveTokenConfig

type MsgRemoveTokenConfig struct {
	// signer is the address authorized to add a chain config
	Signer       string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Chain        string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	TokenAddress string `protobuf:"bytes,3,opt,name=token_address,json=tokenAddress,proto3" json:"token_address,omitempty"`
}

MsgRemoveTokenConfig defines a message to remove a existing TokenConfig.

func NewMsgRemoveTokenConfig

func NewMsgRemoveTokenConfig(
	sender sdk.Address,
	chain string,
	token_address string,
) *MsgRemoveTokenConfig

MsgRemoveTokenConfig creates new instance of MsgRemoveTokenConfig

func (*MsgRemoveTokenConfig) Descriptor

func (*MsgRemoveTokenConfig) Descriptor() ([]byte, []int)

func (*MsgRemoveTokenConfig) GetChain

func (m *MsgRemoveTokenConfig) GetChain() string

func (MsgRemoveTokenConfig) GetSignBytes

func (msg MsgRemoveTokenConfig) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgRemoveTokenConfig) GetSigner

func (m *MsgRemoveTokenConfig) GetSigner() string

func (*MsgRemoveTokenConfig) GetSigners

func (msg *MsgRemoveTokenConfig) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgRemoveTokenConfig message.

func (*MsgRemoveTokenConfig) GetTokenAddress

func (m *MsgRemoveTokenConfig) GetTokenAddress() string

func (*MsgRemoveTokenConfig) Marshal

func (m *MsgRemoveTokenConfig) Marshal() (dAtA []byte, err error)

func (*MsgRemoveTokenConfig) MarshalTo

func (m *MsgRemoveTokenConfig) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveTokenConfig) MarshalToSizedBuffer

func (m *MsgRemoveTokenConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveTokenConfig) ProtoMessage

func (*MsgRemoveTokenConfig) ProtoMessage()

func (*MsgRemoveTokenConfig) Reset

func (m *MsgRemoveTokenConfig) Reset()

func (MsgRemoveTokenConfig) Route

func (msg MsgRemoveTokenConfig) Route() string

Route returns the name of the module

func (*MsgRemoveTokenConfig) Size

func (m *MsgRemoveTokenConfig) Size() (n int)

func (*MsgRemoveTokenConfig) String

func (m *MsgRemoveTokenConfig) String() string

func (MsgRemoveTokenConfig) Type

func (msg MsgRemoveTokenConfig) Type() string

Type returns the action

func (*MsgRemoveTokenConfig) Unmarshal

func (m *MsgRemoveTokenConfig) Unmarshal(dAtA []byte) error

func (*MsgRemoveTokenConfig) ValidateBasic

func (msg *MsgRemoveTokenConfig) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgRemoveTokenConfig) XXX_DiscardUnknown

func (m *MsgRemoveTokenConfig) XXX_DiscardUnknown()

func (*MsgRemoveTokenConfig) XXX_Marshal

func (m *MsgRemoveTokenConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveTokenConfig) XXX_Merge

func (m *MsgRemoveTokenConfig) XXX_Merge(src proto.Message)

func (*MsgRemoveTokenConfig) XXX_Size

func (m *MsgRemoveTokenConfig) XXX_Size() int

func (*MsgRemoveTokenConfig) XXX_Unmarshal

func (m *MsgRemoveTokenConfig) XXX_Unmarshal(b []byte) error

type MsgRemoveTokenConfigResponse

type MsgRemoveTokenConfigResponse struct {
}

MsgRemoveTokenConfigResponse defines the response for MsgRemoveTokenConfig.

func (*MsgRemoveTokenConfigResponse) Descriptor

func (*MsgRemoveTokenConfigResponse) Descriptor() ([]byte, []int)

func (*MsgRemoveTokenConfigResponse) Marshal

func (m *MsgRemoveTokenConfigResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemoveTokenConfigResponse) MarshalTo

func (m *MsgRemoveTokenConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveTokenConfigResponse) MarshalToSizedBuffer

func (m *MsgRemoveTokenConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveTokenConfigResponse) ProtoMessage

func (*MsgRemoveTokenConfigResponse) ProtoMessage()

func (*MsgRemoveTokenConfigResponse) Reset

func (m *MsgRemoveTokenConfigResponse) Reset()

func (*MsgRemoveTokenConfigResponse) Size

func (m *MsgRemoveTokenConfigResponse) Size() (n int)

func (*MsgRemoveTokenConfigResponse) String

func (*MsgRemoveTokenConfigResponse) Unmarshal

func (m *MsgRemoveTokenConfigResponse) Unmarshal(dAtA []byte) error

func (*MsgRemoveTokenConfigResponse) XXX_DiscardUnknown

func (m *MsgRemoveTokenConfigResponse) XXX_DiscardUnknown()

func (*MsgRemoveTokenConfigResponse) XXX_Marshal

func (m *MsgRemoveTokenConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveTokenConfigResponse) XXX_Merge

func (m *MsgRemoveTokenConfigResponse) XXX_Merge(src proto.Message)

func (*MsgRemoveTokenConfigResponse) XXX_Size

func (m *MsgRemoveTokenConfigResponse) XXX_Size() int

func (*MsgRemoveTokenConfigResponse) XXX_Unmarshal

func (m *MsgRemoveTokenConfigResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// UpdateParams defines a governance operation for updating the parameters.
	//
	// Since: cosmos-sdk 0.47
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// AddChainConfig adds a new ChainConfig entry
	AddChainConfig(context.Context, *MsgAddChainConfig) (*MsgAddChainConfigResponse, error)
	// UpdateChainConfig updates an existing ChainConfig entry
	UpdateChainConfig(context.Context, *MsgUpdateChainConfig) (*MsgUpdateChainConfigResponse, error)
	// AddTokenConfig adds a new TokenConfig entry
	AddTokenConfig(context.Context, *MsgAddTokenConfig) (*MsgAddTokenConfigResponse, error)
	// UpdateTokenConfig updates an existing TokenConfig entry
	UpdateTokenConfig(context.Context, *MsgUpdateTokenConfig) (*MsgUpdateTokenConfigResponse, error)
	// RemoveTokenConfig removes an existing TokenConfig entry
	RemoveTokenConfig(context.Context, *MsgRemoveTokenConfig) (*MsgRemoveTokenConfigResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateChainConfig

type MsgUpdateChainConfig struct {
	// signer is the address authorized to add a chain config
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// The new ChainConfig to add
	ChainConfig *ChainConfig `protobuf:"bytes,2,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"`
}

MsgUpdateChainConfig defines a message to update a existing ChainConfig.

func NewMsgUpdateChainConfig

func NewMsgUpdateChainConfig(
	sender sdk.Address,
	chain_config *ChainConfig,
) *MsgUpdateChainConfig

MsgUpdateChainConfig creates new instance of MsgUpdateChainConfig

func (*MsgUpdateChainConfig) Descriptor

func (*MsgUpdateChainConfig) Descriptor() ([]byte, []int)

func (*MsgUpdateChainConfig) GetChainConfig

func (m *MsgUpdateChainConfig) GetChainConfig() *ChainConfig

func (MsgUpdateChainConfig) GetSignBytes

func (msg MsgUpdateChainConfig) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateChainConfig) GetSigner

func (m *MsgUpdateChainConfig) GetSigner() string

func (*MsgUpdateChainConfig) GetSigners

func (msg *MsgUpdateChainConfig) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgUpdateChainConfig message.

func (*MsgUpdateChainConfig) Marshal

func (m *MsgUpdateChainConfig) Marshal() (dAtA []byte, err error)

func (*MsgUpdateChainConfig) MarshalTo

func (m *MsgUpdateChainConfig) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateChainConfig) MarshalToSizedBuffer

func (m *MsgUpdateChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateChainConfig) ProtoMessage

func (*MsgUpdateChainConfig) ProtoMessage()

func (*MsgUpdateChainConfig) Reset

func (m *MsgUpdateChainConfig) Reset()

func (MsgUpdateChainConfig) Route

func (msg MsgUpdateChainConfig) Route() string

Route returns the name of the module

func (*MsgUpdateChainConfig) Size

func (m *MsgUpdateChainConfig) Size() (n int)

func (*MsgUpdateChainConfig) String

func (m *MsgUpdateChainConfig) String() string

func (MsgUpdateChainConfig) Type

func (msg MsgUpdateChainConfig) Type() string

Type returns the action

func (*MsgUpdateChainConfig) Unmarshal

func (m *MsgUpdateChainConfig) Unmarshal(dAtA []byte) error

func (*MsgUpdateChainConfig) ValidateBasic

func (msg *MsgUpdateChainConfig) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateChainConfig) XXX_DiscardUnknown

func (m *MsgUpdateChainConfig) XXX_DiscardUnknown()

func (*MsgUpdateChainConfig) XXX_Marshal

func (m *MsgUpdateChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateChainConfig) XXX_Merge

func (m *MsgUpdateChainConfig) XXX_Merge(src proto.Message)

func (*MsgUpdateChainConfig) XXX_Size

func (m *MsgUpdateChainConfig) XXX_Size() int

func (*MsgUpdateChainConfig) XXX_Unmarshal

func (m *MsgUpdateChainConfig) XXX_Unmarshal(b []byte) error

type MsgUpdateChainConfigResponse

type MsgUpdateChainConfigResponse struct {
}

MsgUpdateChainConfigResponse defines the response for MsgUpdateChainConfig.

func (*MsgUpdateChainConfigResponse) Descriptor

func (*MsgUpdateChainConfigResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateChainConfigResponse) Marshal

func (m *MsgUpdateChainConfigResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateChainConfigResponse) MarshalTo

func (m *MsgUpdateChainConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateChainConfigResponse) MarshalToSizedBuffer

func (m *MsgUpdateChainConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateChainConfigResponse) ProtoMessage

func (*MsgUpdateChainConfigResponse) ProtoMessage()

func (*MsgUpdateChainConfigResponse) Reset

func (m *MsgUpdateChainConfigResponse) Reset()

func (*MsgUpdateChainConfigResponse) Size

func (m *MsgUpdateChainConfigResponse) Size() (n int)

func (*MsgUpdateChainConfigResponse) String

func (*MsgUpdateChainConfigResponse) Unmarshal

func (m *MsgUpdateChainConfigResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateChainConfigResponse) XXX_DiscardUnknown

func (m *MsgUpdateChainConfigResponse) XXX_DiscardUnknown()

func (*MsgUpdateChainConfigResponse) XXX_Marshal

func (m *MsgUpdateChainConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateChainConfigResponse) XXX_Merge

func (m *MsgUpdateChainConfigResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateChainConfigResponse) XXX_Size

func (m *MsgUpdateChainConfigResponse) XXX_Size() int

func (*MsgUpdateChainConfigResponse) XXX_Unmarshal

func (m *MsgUpdateChainConfigResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

Since: cosmos-sdk 0.47

func NewMsgUpdateParams

func NewMsgUpdateParams(
	sender sdk.Address,
	admin sdk.Address,
) *MsgUpdateParams

NewMsgUpdateParams creates new instance of MsgUpdateParams

func (*MsgUpdateParams) Descriptor

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (MsgUpdateParams) GetSignBytes

func (msg MsgUpdateParams) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateParams) GetSigners

func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgUpdateParams message.

func (*MsgUpdateParams) Marshal

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route

func (msg MsgUpdateParams) Route() string

Route returns the name of the module

func (*MsgUpdateParams) Size

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type

func (msg MsgUpdateParams) Type() string

Type returns the action

func (*MsgUpdateParams) Unmarshal

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) ValidateBasic

func (msg *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Since: cosmos-sdk 0.47

func (*MsgUpdateParamsResponse) Descriptor

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateParamsResponse) Marshal

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateTokenConfig

type MsgUpdateTokenConfig struct {
	Signer      string       `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	TokenConfig *TokenConfig `protobuf:"bytes,2,opt,name=token_config,json=tokenConfig,proto3" json:"token_config,omitempty"`
}

MsgUpdateTokenConfig defines a message to update an existing TokenConfig.

func NewMsgUpdateTokenConfig

func NewMsgUpdateTokenConfig(
	sender sdk.Address,
	token_config *TokenConfig,
) *MsgUpdateTokenConfig

MsgUpdateTokenConfig creates new instance of MsgUpdateTokenConfig

func (*MsgUpdateTokenConfig) Descriptor

func (*MsgUpdateTokenConfig) Descriptor() ([]byte, []int)

func (MsgUpdateTokenConfig) GetSignBytes

func (msg MsgUpdateTokenConfig) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgUpdateTokenConfig) GetSigner

func (m *MsgUpdateTokenConfig) GetSigner() string

func (*MsgUpdateTokenConfig) GetSigners

func (msg *MsgUpdateTokenConfig) GetSigners() []sdk.AccAddress

GetSigners returns the expected signers for a MsgUpdateTokenConfig message.

func (*MsgUpdateTokenConfig) GetTokenConfig

func (m *MsgUpdateTokenConfig) GetTokenConfig() *TokenConfig

func (*MsgUpdateTokenConfig) Marshal

func (m *MsgUpdateTokenConfig) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTokenConfig) MarshalTo

func (m *MsgUpdateTokenConfig) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTokenConfig) MarshalToSizedBuffer

func (m *MsgUpdateTokenConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTokenConfig) ProtoMessage

func (*MsgUpdateTokenConfig) ProtoMessage()

func (*MsgUpdateTokenConfig) Reset

func (m *MsgUpdateTokenConfig) Reset()

func (MsgUpdateTokenConfig) Route

func (msg MsgUpdateTokenConfig) Route() string

Route returns the name of the module

func (*MsgUpdateTokenConfig) Size

func (m *MsgUpdateTokenConfig) Size() (n int)

func (*MsgUpdateTokenConfig) String

func (m *MsgUpdateTokenConfig) String() string

func (MsgUpdateTokenConfig) Type

func (msg MsgUpdateTokenConfig) Type() string

Type returns the action

func (*MsgUpdateTokenConfig) Unmarshal

func (m *MsgUpdateTokenConfig) Unmarshal(dAtA []byte) error

func (*MsgUpdateTokenConfig) ValidateBasic

func (msg *MsgUpdateTokenConfig) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateTokenConfig) XXX_DiscardUnknown

func (m *MsgUpdateTokenConfig) XXX_DiscardUnknown()

func (*MsgUpdateTokenConfig) XXX_Marshal

func (m *MsgUpdateTokenConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTokenConfig) XXX_Merge

func (m *MsgUpdateTokenConfig) XXX_Merge(src proto.Message)

func (*MsgUpdateTokenConfig) XXX_Size

func (m *MsgUpdateTokenConfig) XXX_Size() int

func (*MsgUpdateTokenConfig) XXX_Unmarshal

func (m *MsgUpdateTokenConfig) XXX_Unmarshal(b []byte) error

type MsgUpdateTokenConfigResponse

type MsgUpdateTokenConfigResponse struct {
}

MsgUpdateTokenConfigResponse defines the response for MsgUpdateTokenConfig.

func (*MsgUpdateTokenConfigResponse) Descriptor

func (*MsgUpdateTokenConfigResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateTokenConfigResponse) Marshal

func (m *MsgUpdateTokenConfigResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateTokenConfigResponse) MarshalTo

func (m *MsgUpdateTokenConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateTokenConfigResponse) MarshalToSizedBuffer

func (m *MsgUpdateTokenConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateTokenConfigResponse) ProtoMessage

func (*MsgUpdateTokenConfigResponse) ProtoMessage()

func (*MsgUpdateTokenConfigResponse) Reset

func (m *MsgUpdateTokenConfigResponse) Reset()

func (*MsgUpdateTokenConfigResponse) Size

func (m *MsgUpdateTokenConfigResponse) Size() (n int)

func (*MsgUpdateTokenConfigResponse) String

func (*MsgUpdateTokenConfigResponse) Unmarshal

func (m *MsgUpdateTokenConfigResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateTokenConfigResponse) XXX_DiscardUnknown

func (m *MsgUpdateTokenConfigResponse) XXX_DiscardUnknown()

func (*MsgUpdateTokenConfigResponse) XXX_Marshal

func (m *MsgUpdateTokenConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateTokenConfigResponse) XXX_Merge

func (m *MsgUpdateTokenConfigResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateTokenConfigResponse) XXX_Size

func (m *MsgUpdateTokenConfigResponse) XXX_Size() int

func (*MsgUpdateTokenConfigResponse) XXX_Unmarshal

func (m *MsgUpdateTokenConfigResponse) XXX_Unmarshal(b []byte) error

type NativeRepresentation

type NativeRepresentation struct {
	Denom           string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}

func (*NativeRepresentation) Descriptor

func (*NativeRepresentation) Descriptor() ([]byte, []int)

func (*NativeRepresentation) Equal

func (this *NativeRepresentation) Equal(that interface{}) bool

func (*NativeRepresentation) GetContractAddress

func (m *NativeRepresentation) GetContractAddress() string

func (*NativeRepresentation) GetDenom

func (m *NativeRepresentation) GetDenom() string

func (*NativeRepresentation) Marshal

func (m *NativeRepresentation) Marshal() (dAtA []byte, err error)

func (*NativeRepresentation) MarshalTo

func (m *NativeRepresentation) MarshalTo(dAtA []byte) (int, error)

func (*NativeRepresentation) MarshalToSizedBuffer

func (m *NativeRepresentation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NativeRepresentation) ProtoMessage

func (*NativeRepresentation) ProtoMessage()

func (*NativeRepresentation) Reset

func (m *NativeRepresentation) Reset()

func (*NativeRepresentation) Size

func (m *NativeRepresentation) Size() (n int)

func (NativeRepresentation) String

func (p NativeRepresentation) String() string

Stringer method for NativeRepresentation

func (*NativeRepresentation) Unmarshal

func (m *NativeRepresentation) Unmarshal(dAtA []byte) error

func (NativeRepresentation) ValidateBasic

func (p NativeRepresentation) ValidateBasic() error

ValidateBasic performs sanity checks on the NativeRepresentation

func (*NativeRepresentation) XXX_DiscardUnknown

func (m *NativeRepresentation) XXX_DiscardUnknown()

func (*NativeRepresentation) XXX_Marshal

func (m *NativeRepresentation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NativeRepresentation) XXX_Merge

func (m *NativeRepresentation) XXX_Merge(src proto.Message)

func (*NativeRepresentation) XXX_Size

func (m *NativeRepresentation) XXX_Size() int

func (*NativeRepresentation) XXX_Unmarshal

func (m *NativeRepresentation) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	// The admin account of the uregistry module.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
}

Params defines the set of module parameters.

func DefaultParams

func DefaultParams() Params

Default Admin needs to be added explicityly in genesis file

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetAdmin

func (m *Params) GetAdmin() string

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

Stringer method for Params.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate does the sanity check on the params.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAllChainConfigsRequest

type QueryAllChainConfigsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllChainConfigsRequest is the request type for the Query/AllChainConfigs RPC method.

func (*QueryAllChainConfigsRequest) Descriptor

func (*QueryAllChainConfigsRequest) Descriptor() ([]byte, []int)

func (*QueryAllChainConfigsRequest) GetPagination added in v0.0.40

func (m *QueryAllChainConfigsRequest) GetPagination() *query.PageRequest

func (*QueryAllChainConfigsRequest) Marshal

func (m *QueryAllChainConfigsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllChainConfigsRequest) MarshalTo

func (m *QueryAllChainConfigsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllChainConfigsRequest) MarshalToSizedBuffer

func (m *QueryAllChainConfigsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllChainConfigsRequest) ProtoMessage

func (*QueryAllChainConfigsRequest) ProtoMessage()

func (*QueryAllChainConfigsRequest) Reset

func (m *QueryAllChainConfigsRequest) Reset()

func (*QueryAllChainConfigsRequest) Size

func (m *QueryAllChainConfigsRequest) Size() (n int)

func (*QueryAllChainConfigsRequest) String

func (m *QueryAllChainConfigsRequest) String() string

func (*QueryAllChainConfigsRequest) Unmarshal

func (m *QueryAllChainConfigsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllChainConfigsRequest) XXX_DiscardUnknown

func (m *QueryAllChainConfigsRequest) XXX_DiscardUnknown()

func (*QueryAllChainConfigsRequest) XXX_Marshal

func (m *QueryAllChainConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllChainConfigsRequest) XXX_Merge

func (m *QueryAllChainConfigsRequest) XXX_Merge(src proto.Message)

func (*QueryAllChainConfigsRequest) XXX_Size

func (m *QueryAllChainConfigsRequest) XXX_Size() int

func (*QueryAllChainConfigsRequest) XXX_Unmarshal

func (m *QueryAllChainConfigsRequest) XXX_Unmarshal(b []byte) error

type QueryAllChainConfigsResponse

type QueryAllChainConfigsResponse struct {
	Configs    []*ChainConfig      `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllChainConfigsResponse is the response type for the Query/AllChainConfigs RPC method.

func (*QueryAllChainConfigsResponse) Descriptor

func (*QueryAllChainConfigsResponse) Descriptor() ([]byte, []int)

func (*QueryAllChainConfigsResponse) GetConfigs

func (m *QueryAllChainConfigsResponse) GetConfigs() []*ChainConfig

func (*QueryAllChainConfigsResponse) GetPagination added in v0.0.40

func (m *QueryAllChainConfigsResponse) GetPagination() *query.PageResponse

func (*QueryAllChainConfigsResponse) Marshal

func (m *QueryAllChainConfigsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllChainConfigsResponse) MarshalTo

func (m *QueryAllChainConfigsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllChainConfigsResponse) MarshalToSizedBuffer

func (m *QueryAllChainConfigsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllChainConfigsResponse) ProtoMessage

func (*QueryAllChainConfigsResponse) ProtoMessage()

func (*QueryAllChainConfigsResponse) Reset

func (m *QueryAllChainConfigsResponse) Reset()

func (*QueryAllChainConfigsResponse) Size

func (m *QueryAllChainConfigsResponse) Size() (n int)

func (*QueryAllChainConfigsResponse) String

func (*QueryAllChainConfigsResponse) Unmarshal

func (m *QueryAllChainConfigsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllChainConfigsResponse) XXX_DiscardUnknown

func (m *QueryAllChainConfigsResponse) XXX_DiscardUnknown()

func (*QueryAllChainConfigsResponse) XXX_Marshal

func (m *QueryAllChainConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllChainConfigsResponse) XXX_Merge

func (m *QueryAllChainConfigsResponse) XXX_Merge(src proto.Message)

func (*QueryAllChainConfigsResponse) XXX_Size

func (m *QueryAllChainConfigsResponse) XXX_Size() int

func (*QueryAllChainConfigsResponse) XXX_Unmarshal

func (m *QueryAllChainConfigsResponse) XXX_Unmarshal(b []byte) error

type QueryAllTokenConfigsRequest

type QueryAllTokenConfigsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllTokenConfigsRequest is the request type for the Query/AllTokenConfigs RPC method.

func (*QueryAllTokenConfigsRequest) Descriptor

func (*QueryAllTokenConfigsRequest) Descriptor() ([]byte, []int)

func (*QueryAllTokenConfigsRequest) GetPagination added in v0.0.40

func (m *QueryAllTokenConfigsRequest) GetPagination() *query.PageRequest

func (*QueryAllTokenConfigsRequest) Marshal

func (m *QueryAllTokenConfigsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllTokenConfigsRequest) MarshalTo

func (m *QueryAllTokenConfigsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllTokenConfigsRequest) MarshalToSizedBuffer

func (m *QueryAllTokenConfigsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllTokenConfigsRequest) ProtoMessage

func (*QueryAllTokenConfigsRequest) ProtoMessage()

func (*QueryAllTokenConfigsRequest) Reset

func (m *QueryAllTokenConfigsRequest) Reset()

func (*QueryAllTokenConfigsRequest) Size

func (m *QueryAllTokenConfigsRequest) Size() (n int)

func (*QueryAllTokenConfigsRequest) String

func (m *QueryAllTokenConfigsRequest) String() string

func (*QueryAllTokenConfigsRequest) Unmarshal

func (m *QueryAllTokenConfigsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllTokenConfigsRequest) XXX_DiscardUnknown

func (m *QueryAllTokenConfigsRequest) XXX_DiscardUnknown()

func (*QueryAllTokenConfigsRequest) XXX_Marshal

func (m *QueryAllTokenConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllTokenConfigsRequest) XXX_Merge

func (m *QueryAllTokenConfigsRequest) XXX_Merge(src proto.Message)

func (*QueryAllTokenConfigsRequest) XXX_Size

func (m *QueryAllTokenConfigsRequest) XXX_Size() int

func (*QueryAllTokenConfigsRequest) XXX_Unmarshal

func (m *QueryAllTokenConfigsRequest) XXX_Unmarshal(b []byte) error

type QueryAllTokenConfigsResponse

type QueryAllTokenConfigsResponse struct {
	Configs    []*TokenConfig      `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllTokenConfigsResponse is the response type for the Query/AllTokenConfigs RPC method.

func (*QueryAllTokenConfigsResponse) Descriptor

func (*QueryAllTokenConfigsResponse) Descriptor() ([]byte, []int)

func (*QueryAllTokenConfigsResponse) GetConfigs

func (m *QueryAllTokenConfigsResponse) GetConfigs() []*TokenConfig

func (*QueryAllTokenConfigsResponse) GetPagination added in v0.0.40

func (m *QueryAllTokenConfigsResponse) GetPagination() *query.PageResponse

func (*QueryAllTokenConfigsResponse) Marshal

func (m *QueryAllTokenConfigsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllTokenConfigsResponse) MarshalTo

func (m *QueryAllTokenConfigsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllTokenConfigsResponse) MarshalToSizedBuffer

func (m *QueryAllTokenConfigsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllTokenConfigsResponse) ProtoMessage

func (*QueryAllTokenConfigsResponse) ProtoMessage()

func (*QueryAllTokenConfigsResponse) Reset

func (m *QueryAllTokenConfigsResponse) Reset()

func (*QueryAllTokenConfigsResponse) Size

func (m *QueryAllTokenConfigsResponse) Size() (n int)

func (*QueryAllTokenConfigsResponse) String

func (*QueryAllTokenConfigsResponse) Unmarshal

func (m *QueryAllTokenConfigsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllTokenConfigsResponse) XXX_DiscardUnknown

func (m *QueryAllTokenConfigsResponse) XXX_DiscardUnknown()

func (*QueryAllTokenConfigsResponse) XXX_Marshal

func (m *QueryAllTokenConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllTokenConfigsResponse) XXX_Merge

func (m *QueryAllTokenConfigsResponse) XXX_Merge(src proto.Message)

func (*QueryAllTokenConfigsResponse) XXX_Size

func (m *QueryAllTokenConfigsResponse) XXX_Size() int

func (*QueryAllTokenConfigsResponse) XXX_Unmarshal

func (m *QueryAllTokenConfigsResponse) XXX_Unmarshal(b []byte) error

type QueryChainConfigRequest

type QueryChainConfigRequest struct {
	Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
}

ChainConfig QueryChainConfigRequest is the request type for the Query/ChainConfig RPC method.

func (*QueryChainConfigRequest) Descriptor

func (*QueryChainConfigRequest) Descriptor() ([]byte, []int)

func (*QueryChainConfigRequest) GetChain

func (m *QueryChainConfigRequest) GetChain() string

func (*QueryChainConfigRequest) Marshal

func (m *QueryChainConfigRequest) Marshal() (dAtA []byte, err error)

func (*QueryChainConfigRequest) MarshalTo

func (m *QueryChainConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryChainConfigRequest) MarshalToSizedBuffer

func (m *QueryChainConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChainConfigRequest) ProtoMessage

func (*QueryChainConfigRequest) ProtoMessage()

func (*QueryChainConfigRequest) Reset

func (m *QueryChainConfigRequest) Reset()

func (*QueryChainConfigRequest) Size

func (m *QueryChainConfigRequest) Size() (n int)

func (*QueryChainConfigRequest) String

func (m *QueryChainConfigRequest) String() string

func (*QueryChainConfigRequest) Unmarshal

func (m *QueryChainConfigRequest) Unmarshal(dAtA []byte) error

func (*QueryChainConfigRequest) XXX_DiscardUnknown

func (m *QueryChainConfigRequest) XXX_DiscardUnknown()

func (*QueryChainConfigRequest) XXX_Marshal

func (m *QueryChainConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChainConfigRequest) XXX_Merge

func (m *QueryChainConfigRequest) XXX_Merge(src proto.Message)

func (*QueryChainConfigRequest) XXX_Size

func (m *QueryChainConfigRequest) XXX_Size() int

func (*QueryChainConfigRequest) XXX_Unmarshal

func (m *QueryChainConfigRequest) XXX_Unmarshal(b []byte) error

type QueryChainConfigResponse

type QueryChainConfigResponse struct {
	Config *ChainConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}

QueryChainConfigResponse is the response type for the Query/ChainConfig RPC method.

func (*QueryChainConfigResponse) Descriptor

func (*QueryChainConfigResponse) Descriptor() ([]byte, []int)

func (*QueryChainConfigResponse) GetConfig

func (m *QueryChainConfigResponse) GetConfig() *ChainConfig

func (*QueryChainConfigResponse) Marshal

func (m *QueryChainConfigResponse) Marshal() (dAtA []byte, err error)

func (*QueryChainConfigResponse) MarshalTo

func (m *QueryChainConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryChainConfigResponse) MarshalToSizedBuffer

func (m *QueryChainConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryChainConfigResponse) ProtoMessage

func (*QueryChainConfigResponse) ProtoMessage()

func (*QueryChainConfigResponse) Reset

func (m *QueryChainConfigResponse) Reset()

func (*QueryChainConfigResponse) Size

func (m *QueryChainConfigResponse) Size() (n int)

func (*QueryChainConfigResponse) String

func (m *QueryChainConfigResponse) String() string

func (*QueryChainConfigResponse) Unmarshal

func (m *QueryChainConfigResponse) Unmarshal(dAtA []byte) error

func (*QueryChainConfigResponse) XXX_DiscardUnknown

func (m *QueryChainConfigResponse) XXX_DiscardUnknown()

func (*QueryChainConfigResponse) XXX_Marshal

func (m *QueryChainConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryChainConfigResponse) XXX_Merge

func (m *QueryChainConfigResponse) XXX_Merge(src proto.Message)

func (*QueryChainConfigResponse) XXX_Size

func (m *QueryChainConfigResponse) XXX_Size() int

func (*QueryChainConfigResponse) XXX_Unmarshal

func (m *QueryChainConfigResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Params queries all parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// ChainConfig queries a ChainConfig by chain.
	ChainConfig(ctx context.Context, in *QueryChainConfigRequest, opts ...grpc.CallOption) (*QueryChainConfigResponse, error)
	// AllChainConfigs returns all registered chain configs.
	AllChainConfigs(ctx context.Context, in *QueryAllChainConfigsRequest, opts ...grpc.CallOption) (*QueryAllChainConfigsResponse, error)
	// TokenConfig queries a token config by chain and address.
	TokenConfig(ctx context.Context, in *QueryTokenConfigRequest, opts ...grpc.CallOption) (*QueryTokenConfigResponse, error)
	// AllTokenConfigs queries all token configs across all chains.
	AllTokenConfigs(ctx context.Context, in *QueryAllTokenConfigsRequest, opts ...grpc.CallOption) (*QueryAllTokenConfigsResponse, error)
	// TokenConfigsByChain queries all token configs for a given chain.
	TokenConfigsByChain(ctx context.Context, in *QueryTokenConfigsByChainRequest, opts ...grpc.CallOption) (*QueryTokenConfigsByChainResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
}

Params QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Params queries all parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// ChainConfig queries a ChainConfig by chain.
	ChainConfig(context.Context, *QueryChainConfigRequest) (*QueryChainConfigResponse, error)
	// AllChainConfigs returns all registered chain configs.
	AllChainConfigs(context.Context, *QueryAllChainConfigsRequest) (*QueryAllChainConfigsResponse, error)
	// TokenConfig queries a token config by chain and address.
	TokenConfig(context.Context, *QueryTokenConfigRequest) (*QueryTokenConfigResponse, error)
	// AllTokenConfigs queries all token configs across all chains.
	AllTokenConfigs(context.Context, *QueryAllTokenConfigsRequest) (*QueryAllTokenConfigsResponse, error)
	// TokenConfigsByChain queries all token configs for a given chain.
	TokenConfigsByChain(context.Context, *QueryTokenConfigsByChainRequest) (*QueryTokenConfigsByChainResponse, error)
}

QueryServer is the server API for Query service.

type QueryTokenConfigRequest

type QueryTokenConfigRequest struct {
	Chain   string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

TokenConfig QueryTokenConfigRequest is the request type for the Query/TokenConfig RPC method.

func (*QueryTokenConfigRequest) Descriptor

func (*QueryTokenConfigRequest) Descriptor() ([]byte, []int)

func (*QueryTokenConfigRequest) GetAddress

func (m *QueryTokenConfigRequest) GetAddress() string

func (*QueryTokenConfigRequest) GetChain

func (m *QueryTokenConfigRequest) GetChain() string

func (*QueryTokenConfigRequest) Marshal

func (m *QueryTokenConfigRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenConfigRequest) MarshalTo

func (m *QueryTokenConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenConfigRequest) MarshalToSizedBuffer

func (m *QueryTokenConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenConfigRequest) ProtoMessage

func (*QueryTokenConfigRequest) ProtoMessage()

func (*QueryTokenConfigRequest) Reset

func (m *QueryTokenConfigRequest) Reset()

func (*QueryTokenConfigRequest) Size

func (m *QueryTokenConfigRequest) Size() (n int)

func (*QueryTokenConfigRequest) String

func (m *QueryTokenConfigRequest) String() string

func (*QueryTokenConfigRequest) Unmarshal

func (m *QueryTokenConfigRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenConfigRequest) XXX_DiscardUnknown

func (m *QueryTokenConfigRequest) XXX_DiscardUnknown()

func (*QueryTokenConfigRequest) XXX_Marshal

func (m *QueryTokenConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenConfigRequest) XXX_Merge

func (m *QueryTokenConfigRequest) XXX_Merge(src proto.Message)

func (*QueryTokenConfigRequest) XXX_Size

func (m *QueryTokenConfigRequest) XXX_Size() int

func (*QueryTokenConfigRequest) XXX_Unmarshal

func (m *QueryTokenConfigRequest) XXX_Unmarshal(b []byte) error

type QueryTokenConfigResponse

type QueryTokenConfigResponse struct {
	Config *TokenConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}

QueryTokenConfigResponse is the response type for the Query/TokenConfig RPC method.

func (*QueryTokenConfigResponse) Descriptor

func (*QueryTokenConfigResponse) Descriptor() ([]byte, []int)

func (*QueryTokenConfigResponse) GetConfig

func (m *QueryTokenConfigResponse) GetConfig() *TokenConfig

func (*QueryTokenConfigResponse) Marshal

func (m *QueryTokenConfigResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenConfigResponse) MarshalTo

func (m *QueryTokenConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenConfigResponse) MarshalToSizedBuffer

func (m *QueryTokenConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenConfigResponse) ProtoMessage

func (*QueryTokenConfigResponse) ProtoMessage()

func (*QueryTokenConfigResponse) Reset

func (m *QueryTokenConfigResponse) Reset()

func (*QueryTokenConfigResponse) Size

func (m *QueryTokenConfigResponse) Size() (n int)

func (*QueryTokenConfigResponse) String

func (m *QueryTokenConfigResponse) String() string

func (*QueryTokenConfigResponse) Unmarshal

func (m *QueryTokenConfigResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenConfigResponse) XXX_DiscardUnknown

func (m *QueryTokenConfigResponse) XXX_DiscardUnknown()

func (*QueryTokenConfigResponse) XXX_Marshal

func (m *QueryTokenConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenConfigResponse) XXX_Merge

func (m *QueryTokenConfigResponse) XXX_Merge(src proto.Message)

func (*QueryTokenConfigResponse) XXX_Size

func (m *QueryTokenConfigResponse) XXX_Size() int

func (*QueryTokenConfigResponse) XXX_Unmarshal

func (m *QueryTokenConfigResponse) XXX_Unmarshal(b []byte) error

type QueryTokenConfigsByChainRequest

type QueryTokenConfigsByChainRequest struct {
	Chain      string             `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokenConfigsByChainRequest is the request type for the Query/TokenConfigsByChain RPC method.

func (*QueryTokenConfigsByChainRequest) Descriptor

func (*QueryTokenConfigsByChainRequest) Descriptor() ([]byte, []int)

func (*QueryTokenConfigsByChainRequest) GetChain

func (*QueryTokenConfigsByChainRequest) GetPagination added in v0.0.40

func (*QueryTokenConfigsByChainRequest) Marshal

func (m *QueryTokenConfigsByChainRequest) Marshal() (dAtA []byte, err error)

func (*QueryTokenConfigsByChainRequest) MarshalTo

func (m *QueryTokenConfigsByChainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenConfigsByChainRequest) MarshalToSizedBuffer

func (m *QueryTokenConfigsByChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenConfigsByChainRequest) ProtoMessage

func (*QueryTokenConfigsByChainRequest) ProtoMessage()

func (*QueryTokenConfigsByChainRequest) Reset

func (*QueryTokenConfigsByChainRequest) Size

func (m *QueryTokenConfigsByChainRequest) Size() (n int)

func (*QueryTokenConfigsByChainRequest) String

func (*QueryTokenConfigsByChainRequest) Unmarshal

func (m *QueryTokenConfigsByChainRequest) Unmarshal(dAtA []byte) error

func (*QueryTokenConfigsByChainRequest) XXX_DiscardUnknown

func (m *QueryTokenConfigsByChainRequest) XXX_DiscardUnknown()

func (*QueryTokenConfigsByChainRequest) XXX_Marshal

func (m *QueryTokenConfigsByChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenConfigsByChainRequest) XXX_Merge

func (m *QueryTokenConfigsByChainRequest) XXX_Merge(src proto.Message)

func (*QueryTokenConfigsByChainRequest) XXX_Size

func (m *QueryTokenConfigsByChainRequest) XXX_Size() int

func (*QueryTokenConfigsByChainRequest) XXX_Unmarshal

func (m *QueryTokenConfigsByChainRequest) XXX_Unmarshal(b []byte) error

type QueryTokenConfigsByChainResponse

type QueryTokenConfigsByChainResponse struct {
	Configs    []*TokenConfig      `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryTokenConfigsByChainResponse is the response type for the Query/TokenConfigsByChain RPC method.

func (*QueryTokenConfigsByChainResponse) Descriptor

func (*QueryTokenConfigsByChainResponse) Descriptor() ([]byte, []int)

func (*QueryTokenConfigsByChainResponse) GetConfigs

func (m *QueryTokenConfigsByChainResponse) GetConfigs() []*TokenConfig

func (*QueryTokenConfigsByChainResponse) GetPagination added in v0.0.40

func (*QueryTokenConfigsByChainResponse) Marshal

func (m *QueryTokenConfigsByChainResponse) Marshal() (dAtA []byte, err error)

func (*QueryTokenConfigsByChainResponse) MarshalTo

func (m *QueryTokenConfigsByChainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTokenConfigsByChainResponse) MarshalToSizedBuffer

func (m *QueryTokenConfigsByChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTokenConfigsByChainResponse) ProtoMessage

func (*QueryTokenConfigsByChainResponse) ProtoMessage()

func (*QueryTokenConfigsByChainResponse) Reset

func (*QueryTokenConfigsByChainResponse) Size

func (m *QueryTokenConfigsByChainResponse) Size() (n int)

func (*QueryTokenConfigsByChainResponse) String

func (*QueryTokenConfigsByChainResponse) Unmarshal

func (m *QueryTokenConfigsByChainResponse) Unmarshal(dAtA []byte) error

func (*QueryTokenConfigsByChainResponse) XXX_DiscardUnknown

func (m *QueryTokenConfigsByChainResponse) XXX_DiscardUnknown()

func (*QueryTokenConfigsByChainResponse) XXX_Marshal

func (m *QueryTokenConfigsByChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTokenConfigsByChainResponse) XXX_Merge

func (*QueryTokenConfigsByChainResponse) XXX_Size

func (m *QueryTokenConfigsByChainResponse) XXX_Size() int

func (*QueryTokenConfigsByChainResponse) XXX_Unmarshal

func (m *QueryTokenConfigsByChainResponse) XXX_Unmarshal(b []byte) error

type TokenConfig

type TokenConfig struct {
	Chain                string                `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Address              string                `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Name                 string                `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Symbol               string                `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Decimals             uint32                `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Enabled              bool                  `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
	LiquidityCap         string                `protobuf:"bytes,7,opt,name=liquidity_cap,json=liquidityCap,proto3" json:"liquidity_cap,omitempty"`
	TokenType            TokenType             `protobuf:"varint,8,opt,name=token_type,json=tokenType,proto3,enum=uregistry.v1.TokenType" json:"token_type,omitempty"`
	NativeRepresentation *NativeRepresentation `protobuf:"bytes,9,opt,name=native_representation,json=nativeRepresentation,proto3" json:"native_representation,omitempty"`
}

func (*TokenConfig) Descriptor

func (*TokenConfig) Descriptor() ([]byte, []int)

func (*TokenConfig) Equal

func (this *TokenConfig) Equal(that interface{}) bool

func (*TokenConfig) GetAddress

func (m *TokenConfig) GetAddress() string

func (*TokenConfig) GetChain

func (m *TokenConfig) GetChain() string

func (*TokenConfig) GetDecimals

func (m *TokenConfig) GetDecimals() uint32

func (*TokenConfig) GetEnabled

func (m *TokenConfig) GetEnabled() bool

func (*TokenConfig) GetLiquidityCap

func (m *TokenConfig) GetLiquidityCap() string

func (*TokenConfig) GetName

func (m *TokenConfig) GetName() string

func (*TokenConfig) GetNativeRepresentation

func (m *TokenConfig) GetNativeRepresentation() *NativeRepresentation

func (*TokenConfig) GetSymbol

func (m *TokenConfig) GetSymbol() string

func (*TokenConfig) GetTokenType

func (m *TokenConfig) GetTokenType() TokenType

func (*TokenConfig) Marshal

func (m *TokenConfig) Marshal() (dAtA []byte, err error)

func (*TokenConfig) MarshalTo

func (m *TokenConfig) MarshalTo(dAtA []byte) (int, error)

func (*TokenConfig) MarshalToSizedBuffer

func (m *TokenConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenConfig) ProtoMessage

func (*TokenConfig) ProtoMessage()

func (*TokenConfig) Reset

func (m *TokenConfig) Reset()

func (*TokenConfig) Size

func (m *TokenConfig) Size() (n int)

func (TokenConfig) String

func (p TokenConfig) String() string

Stringer method for TokenConfig

func (*TokenConfig) Unmarshal

func (m *TokenConfig) Unmarshal(dAtA []byte) error

func (TokenConfig) ValidateBasic

func (p TokenConfig) ValidateBasic() error

ValidateBasic performs sanity checks on the TokenConfig

func (*TokenConfig) XXX_DiscardUnknown

func (m *TokenConfig) XXX_DiscardUnknown()

func (*TokenConfig) XXX_Marshal

func (m *TokenConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenConfig) XXX_Merge

func (m *TokenConfig) XXX_Merge(src proto.Message)

func (*TokenConfig) XXX_Size

func (m *TokenConfig) XXX_Size() int

func (*TokenConfig) XXX_Unmarshal

func (m *TokenConfig) XXX_Unmarshal(b []byte) error

type TokenConfigEntry added in v0.0.23

type TokenConfigEntry struct {
	Key   string      `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value TokenConfig `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
}

TokenConfigEntry is a key-value pair for exporting TokenConfigs map state.

func (*TokenConfigEntry) Descriptor added in v0.0.23

func (*TokenConfigEntry) Descriptor() ([]byte, []int)

func (*TokenConfigEntry) GetKey added in v0.0.23

func (m *TokenConfigEntry) GetKey() string

func (*TokenConfigEntry) GetValue added in v0.0.23

func (m *TokenConfigEntry) GetValue() TokenConfig

func (*TokenConfigEntry) Marshal added in v0.0.23

func (m *TokenConfigEntry) Marshal() (dAtA []byte, err error)

func (*TokenConfigEntry) MarshalTo added in v0.0.23

func (m *TokenConfigEntry) MarshalTo(dAtA []byte) (int, error)

func (*TokenConfigEntry) MarshalToSizedBuffer added in v0.0.23

func (m *TokenConfigEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenConfigEntry) ProtoMessage added in v0.0.23

func (*TokenConfigEntry) ProtoMessage()

func (*TokenConfigEntry) Reset added in v0.0.23

func (m *TokenConfigEntry) Reset()

func (*TokenConfigEntry) Size added in v0.0.23

func (m *TokenConfigEntry) Size() (n int)

func (*TokenConfigEntry) String added in v0.0.23

func (m *TokenConfigEntry) String() string

func (*TokenConfigEntry) Unmarshal added in v0.0.23

func (m *TokenConfigEntry) Unmarshal(dAtA []byte) error

func (*TokenConfigEntry) XXX_DiscardUnknown added in v0.0.23

func (m *TokenConfigEntry) XXX_DiscardUnknown()

func (*TokenConfigEntry) XXX_Marshal added in v0.0.23

func (m *TokenConfigEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenConfigEntry) XXX_Merge added in v0.0.23

func (m *TokenConfigEntry) XXX_Merge(src proto.Message)

func (*TokenConfigEntry) XXX_Size added in v0.0.23

func (m *TokenConfigEntry) XXX_Size() int

func (*TokenConfigEntry) XXX_Unmarshal added in v0.0.23

func (m *TokenConfigEntry) XXX_Unmarshal(b []byte) error

type TokenType

type TokenType int32
const (
	TokenType_UNKNOWN_TOKEN TokenType = 0
	// EVM
	TokenType_ERC20   TokenType = 1
	TokenType_ERC721  TokenType = 2
	TokenType_ERC1155 TokenType = 3
	// Solana
	TokenType_SPL TokenType = 4
)

func (TokenType) EnumDescriptor

func (TokenType) EnumDescriptor() ([]byte, []int)

func (TokenType) String

func (x TokenType) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddChainConfig

func (*UnimplementedMsgServer) AddTokenConfig

func (*UnimplementedMsgServer) RemoveTokenConfig

func (*UnimplementedMsgServer) UpdateChainConfig

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdateTokenConfig

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllChainConfigs

func (*UnimplementedQueryServer) AllTokenConfigs

func (*UnimplementedQueryServer) ChainConfig

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) TokenConfig

func (*UnimplementedQueryServer) TokenConfigsByChain

type VaultMethods added in v0.0.18

type VaultMethods struct {
	Name             string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Identifier       string           `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	EventIdentifier  string           `protobuf:"bytes,3,opt,name=event_identifier,json=eventIdentifier,proto3" json:"event_identifier,omitempty"`
	ConfirmationType ConfirmationType `` /* 145-byte string literal not displayed */
}

VaultMethods defines the configuration for a method exposed by the vault contract

func (*VaultMethods) Descriptor added in v0.0.18

func (*VaultMethods) Descriptor() ([]byte, []int)

func (*VaultMethods) Equal added in v0.0.18

func (this *VaultMethods) Equal(that interface{}) bool

func (*VaultMethods) GetConfirmationType added in v0.0.18

func (m *VaultMethods) GetConfirmationType() ConfirmationType

func (*VaultMethods) GetEventIdentifier added in v0.0.18

func (m *VaultMethods) GetEventIdentifier() string

func (*VaultMethods) GetIdentifier added in v0.0.18

func (m *VaultMethods) GetIdentifier() string

func (*VaultMethods) GetName added in v0.0.18

func (m *VaultMethods) GetName() string

func (*VaultMethods) Marshal added in v0.0.18

func (m *VaultMethods) Marshal() (dAtA []byte, err error)

func (*VaultMethods) MarshalTo added in v0.0.18

func (m *VaultMethods) MarshalTo(dAtA []byte) (int, error)

func (*VaultMethods) MarshalToSizedBuffer added in v0.0.18

func (m *VaultMethods) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VaultMethods) ProtoMessage added in v0.0.18

func (*VaultMethods) ProtoMessage()

func (*VaultMethods) Reset added in v0.0.18

func (m *VaultMethods) Reset()

func (*VaultMethods) Size added in v0.0.18

func (m *VaultMethods) Size() (n int)

func (VaultMethods) String added in v0.0.18

func (p VaultMethods) String() string

Stringer method for VaultMethods.

func (*VaultMethods) Unmarshal added in v0.0.18

func (m *VaultMethods) Unmarshal(dAtA []byte) error

func (VaultMethods) ValidateBasic added in v0.0.18

func (p VaultMethods) ValidateBasic() error

ValidateBasic does the sanity check on the params.

func (*VaultMethods) XXX_DiscardUnknown added in v0.0.18

func (m *VaultMethods) XXX_DiscardUnknown()

func (*VaultMethods) XXX_Marshal added in v0.0.18

func (m *VaultMethods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VaultMethods) XXX_Merge added in v0.0.18

func (m *VaultMethods) XXX_Merge(src proto.Message)

func (*VaultMethods) XXX_Size added in v0.0.18

func (m *VaultMethods) XXX_Size() int

func (*VaultMethods) XXX_Unmarshal added in v0.0.18

func (m *VaultMethods) XXX_Unmarshal(b []byte) error

type VmType

type VmType int32

VmType is the type of the vm of the network

const (
	VmType_UNKNOWN_VM     VmType = 0
	VmType_EVM            VmType = 1
	VmType_SVM            VmType = 2
	VmType_MOVE_VM        VmType = 3
	VmType_WASM_VM        VmType = 4
	VmType_CAIRO_VM       VmType = 5
	VmType_TRON_VM        VmType = 6
	VmType_STELLAR_VM     VmType = 7
	VmType_BITCOIN_SCRIPT VmType = 8
	VmType_OTHER_VM       VmType = 9
)

func (VmType) EnumDescriptor

func (VmType) EnumDescriptor() ([]byte, []int)

func (VmType) String

func (x VmType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL