types

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 45 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	FACTORY_PROXY_ADDRESS_HEX     = "0x00000000000000000000000000000000000000eA"
	PROXY_ADMIN_OWNER_ADDRESS_HEX = "0xa96CaA79eb2312DbEb0B8E93c1Ce84C98b67bF11"
	FACTORY_IMPL_ADDRESS_HEX      = "0x00000000000000000000000000000000000000fa"
	PROXY_ADMIN_ADDRESS_HEX       = "0x00000000000000000000000000000000000000AA"
)
View Source
const (
	VotesThresholdNumerator   = 2
	VotesThresholdDenominator = 3

	// Default number of blocks after which ballot expires
	DefaultExpiryAfterBlocks = 10000
)

Quorum numerator/denominator for validator votes (>2/3)

View Source
const (
	ModuleName = "uexecutor"

	StoreKey = ModuleName

	QuerierRoute = ModuleName
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const FactoryV1ABI = `` /* 3583-byte string literal not displayed */

FactoryV1ABI contains the ABI for the factory contract

View Source
const PRC20ABI = `` /* 10542-byte string literal not displayed */
View Source
const UNIVERSAL_CORE_ABI = `` /* 1914-byte string literal not displayed */
View Source
const UeaV1ABI = `` /* 1935-byte string literal not displayed */

UeaV1ABI contains the ABI for the UEA contract

Variables

View Source
var (
	ErrInvalidLengthGasPrice        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGasPrice          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGasPrice = fmt.Errorf("proto: unexpected end of group")
)
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"

	// Old storage in V1
	ChainConfigsKey  = collections.NewPrefix(1) // ChainConfigsKey saves the current module chainConfigs collection prefix
	ChainConfigsName = "chain_configs"          // ChainConfigsName is the name of the chainConfigs collection.

	InboundsKey  = collections.NewPrefix(2)
	InboundsName = "inbound_synthetics"

	UniversalTxKey  = collections.NewPrefix(3)
	UniversalTxName = "universal_tx"

	ModuleAccountNonceKey  = collections.NewPrefix(4)
	ModuleAccountNonceName = "module_account_nonce"

	GasPricesKey  = collections.NewPrefix(5)
	GasPricesName = "gas_prices"
)
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 (
	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 FactoryImplRuntimeBytecode = common.FromHex("0x608060405234801561000f575f80fd5b5060043610610163575f3560e01c80639538c4b3116100c7578063d0f4b0971161007d578063edb6a18a11610063578063edb6a18a146103e4578063f2fde38b14610411578063f861134e14610424575f80fd5b8063d0f4b0971461038e578063e720582e146103af575f80fd5b8063b4cb9f8c116100ad578063b4cb9f8c14610355578063c4d66de814610368578063cc005a481461037b575f80fd5b80639538c4b31461031e578063a10bbfb914610342575f80fd5b806330b4a5211161011c57806357b1f59b1161010257806357b1f59b146102c6578063715018a6146102d95780638da5cb5b146102e1575f80fd5b806330b4a521146102675780634716fb2d14610287575f80fd5b80630d7c4b371161014c5780630d7c4b37146101b95780632ab6b9c21461021f57806330363dd214610232575f80fd5b8063031bc85b146101675780630772e63c146101a4575b5f80fd5b61018a610175366004611355565b5f908152600360205260409020549081151590565b604080519283529015156020830152015b60405180910390f35b6101b76101b2366004611394565b610437565b005b6101fa6101c7366004611355565b5f9081526003602090815260408083205483529082905290205473ffffffffffffffffffffffffffffffffffffffff1690565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019b565b6101b761022d3660046113ad565b6104d3565b6101fa610240366004611355565b5f6020819052908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6004546101fa9073ffffffffffffffffffffffffffffffffffffffff1681565b61029a610295366004611507565b610574565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835290151560208301520161019b565b6101b76102d436600461166c565b6105cf565b6101b7610690565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005473ffffffffffffffffffffffffffffffffffffffff166101fa565b61033261032c366004611394565b3b151590565b604051901515815260200161019b565b6101fa610350366004611507565b6106a3565b6101b761036336600461175a565b610804565b6101b7610376366004611394565b61093d565b6101fa610389366004611507565b610abb565b6103a161039c366004611394565b610e1b565b60405161019b929190611834565b6101fa6103bd366004611355565b60016020525f908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6104036103f2366004611355565b60036020525f908152604090205481565b60405190815260200161019b565b6101b761041f366004611394565b611034565b610403610432366004611507565b61109c565b61043f6110cb565b73ffffffffffffffffffffffffffffffffffffffff811661048c576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6104db6110cb565b5f8281526003602052604090205415801590610523576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f83815260036020526040908190208390555183907f49564762e2866e9dc959573af8fba43b9089624ee471955f601b49fe69716d9f906105679085815260200190565b60405180910390a2505050565b5f805f6105808461109c565b5f8181526001602052604090205473ffffffffffffffffffffffffffffffffffffffff169350905082156105bb57823b15155b915050915091565b6105c4846106a3565b9250823b15156105b3565b6105d76110cb565b815181511415806105ea57508251815114155b15610621576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b815181101561068a5761068284828151811061064157610641611857565b602002602001015184838151811061065b5761065b611857565b602002602001015184848151811061067557610675611857565b6020026020010151610804565b600101610623565b50505050565b6106986110cb565b6106a15f611159565b565b6004545f9073ffffffffffffffffffffffffffffffffffffffff166106f4576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f825f0151836020015160405160200161070f929190611884565b6040516020818303038152906040528051906020012090505f610741825f908152600360205260409020549081151590565b9150508061077b576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6107858561109c565b6004546040513060388201526f5af43d82803e903d91602b57fd5bf3ff602482015273ffffffffffffffffffffffffffffffffffffffff9182166014820152733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018390526037600c82012060788201526055604390910120919250165b95945050505050565b61080c6110cb565b73ffffffffffffffffffffffffffffffffffffffff8116610859576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f838152600360205260409020548015801590806108775750838214155b156108ae576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f848152602081815260409182902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8716908117909155825190815290810186905286917f2d85c152b87e7ab165fa8084701425fcdd10a7f5ccfab2eb6905ebcaabd7dba4910160405180910390a25050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff165f811580156109875750825b90505f8267ffffffffffffffff1660011480156109a35750303b155b9050811580156109b1575080155b156109e8576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001660011785558315610a495784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff16680100000000000000001785555b610a52866111ee565b8315610ab35784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6004545f9073ffffffffffffffffffffffffffffffffffffffff16610b0c576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f610b168361109c565b83516020808601516040519394505f93610b31939201611884565b6040516020818303038152906040528051906020012090505f80610b64835f908152600360205260409020549081151590565b9150915080610b9f576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526020819052604090205473ffffffffffffffffffffffffffffffffffffffff1680610bfa576040517f5ab75e0b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004545f90610c1f9073ffffffffffffffffffffffffffffffffffffffff16876111ff565b6040517f23efa7ec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8481166004830152919250908216906323efa7ec906024015f604051808303815f87803b158015610c89575f80fd5b505af1158015610c9b573d5f803e3d5ffd5b50506040517f3042c33e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84169250633042c33e9150610cf1908b906004016118a8565b5f604051808303815f87803b158015610d08575f80fd5b505af1158015610d1a573d5f803e3d5ffd5b5050505f87815260016020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff871690811790915583526002909152902089518a92508190610d889082611957565b5060208201516001820190610d9d9082611957565b5060408201516002820190610db29082611957565b509050508073ffffffffffffffffffffffffffffffffffffffff167f3d28a9862fc25712e3786cca6786a76a91e4c419977a1b164bbffdcabd96b4cc89604001518a6020015188604051610e0893929190611a6e565b60405180910390a2979650505050505050565b610e3f60405180606001604052806060815260200160608152602001606081525090565b73ffffffffffffffffffffffffffffffffffffffff82165f90815260026020526040808220815160608101909252805482908290610e7c906118ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea8906118ba565b8015610ef35780601f10610eca57610100808354040283529160200191610ef3565b820191905f5260205f20905b815481529060010190602001808311610ed657829003601f168201915b50505050508152602001600182018054610f0c906118ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610f38906118ba565b8015610f835780601f10610f5a57610100808354040283529160200191610f83565b820191905f5260205f20905b815481529060010190602001808311610f6657829003601f168201915b50505050508152602001600282018054610f9c906118ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc8906118ba565b80156110135780601f10610fea57610100808354040283529160200191611013565b820191905f5260205f20905b815481529060010190602001808311610ff657829003601f168201915b50505050508152505091505f826040015151111561102f575060015b915091565b61103c6110cb565b73ffffffffffffffffffffffffffffffffffffffff8116611090576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b61109981611159565b50565b5f816040516020016110ae91906118a8565b604051602081830303815290604052805190602001209050919050565b3361110a7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16146106a1576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401611087565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b6111f6611212565b61109981611279565b5f61120b83835f611281565b9392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166106a1576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61103c611212565b5f814710156112c5576040517fcf47918100000000000000000000000000000000000000000000000000000000815247600482015260248101839052604401611087565b763d602d80600a3d3981f3363d3d373d3d3d363d730000008460601b60e81c175f526e5af43d82803e903d91602b57fd5bf38460781b17602052826037600984f5905073ffffffffffffffffffffffffffffffffffffffff811661120b576040517fb06ebf3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60208284031215611365575f80fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461138f575f80fd5b919050565b5f602082840312156113a4575f80fd5b61120b8261136c565b5f80604083850312156113be575f80fd5b50508035926020909101359150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6040516060810167ffffffffffffffff8111828210171561141d5761141d6113cd565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561146a5761146a6113cd565b604052919050565b5f8067ffffffffffffffff84111561148c5761148c6113cd565b50601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0166020016114bf81611423565b9150508281528383830111156114d3575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126114f8575f80fd5b61120b83833560208501611472565b5f60208284031215611517575f80fd5b813567ffffffffffffffff81111561152d575f80fd5b82016060818503121561153e575f80fd5b6115466113fa565b813567ffffffffffffffff81111561155c575f80fd5b611568868285016114e9565b825250602082013567ffffffffffffffff811115611584575f80fd5b611590868285016114e9565b602083015250604082013567ffffffffffffffff8111156115af575f80fd5b80830192505084601f8301126115c3575f80fd5b6115d285833560208501611472565b6040820152949350505050565b5f67ffffffffffffffff8211156115f8576115f86113cd565b5060051b60200190565b5f82601f830112611611575f80fd5b813561162461161f826115df565b611423565b8082825260208201915060208360051b860101925085831115611645575f80fd5b602085015b8381101561166257803583526020928301920161164a565b5095945050505050565b5f805f6060848603121561167e575f80fd5b833567ffffffffffffffff811115611694575f80fd5b6116a086828701611602565b935050602084013567ffffffffffffffff8111156116bc575f80fd5b6116c886828701611602565b925050604084013567ffffffffffffffff8111156116e4575f80fd5b8401601f810186136116f4575f80fd5b803561170261161f826115df565b8082825260208201915060208360051b850101925088831115611723575f80fd5b6020840193505b8284101561174c5761173b8461136c565b82526020938401939091019061172a565b809450505050509250925092565b5f805f6060848603121561176c575f80fd5b83359250602084013591506117836040850161136c565b90509250925092565b5f81518084525f5b818110156117b057602081850181015186830182015201611794565b505f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b5f815160608452611801606085018261178c565b90506020830151848203602086015261181a828261178c565b915050604083015184820360408601526107fb828261178c565b604081525f61184660408301856117ed565b905082151560208301529392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604081525f611896604083018561178c565b82810360208401526107fb818561178c565b602081525f61120b60208301846117ed565b600181811c908216806118ce57607f821691505b602082108103611905577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b601f82111561195257805f5260205f20601f840160051c810160208510156119305750805b601f840160051c820191505b8181101561194f575f815560010161193c565b50505b505050565b815167ffffffffffffffff811115611971576119716113cd565b6119858161197f84546118ba565b8461190b565b6020601f8211600181146119d6575f83156119a05750848201515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b17845561194f565b5f848152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b82811015611a235787850151825560209485019460019092019101611a03565b5084821015611a5f57868401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b60f8161c191681555b50505050600190811b01905550565b606081525f611a80606083018661178c565b8281036020840152611a92818661178c565b91505082604083015294935050505056fea26469706673582212203ba7ceb4bf2f54c9bfce4d8feed0d57964c3b5ce4facc28c4739b347c6a9d99b64736f6c634300081a0033")
View Source
var InboundTxType_name = map[int32]string{
	0: "UNSPECIFIED_TX",
	1: "GAS",
	2: "FUNDS",
	3: "FUNDS_AND_PAYLOAD",
	4: "GAS_AND_PAYLOAD",
}
View Source
var InboundTxType_value = map[string]int32{
	"UNSPECIFIED_TX":    0,
	"GAS":               1,
	"FUNDS":             2,
	"FUNDS_AND_PAYLOAD": 3,
	"GAS_AND_PAYLOAD":   4,
}
View Source
var 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 ProxyRuntimeBytecode = common.FromHex("0x608060405261000c61000e565b005b7f00000000000000000000000000000000000000000000000000000000000000AA73ffffffffffffffffffffffffffffffffffffffff1633036100d1575f357fffffffff00000000000000000000000000000000000000000000000000000000167f4f1ef28600000000000000000000000000000000000000000000000000000000146100c7576040517fd2b576ec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6100cf6100d9565b565b6100cf610107565b5f806100e8366004818461043e565b8101906100f59190610492565b915091506101038282610117565b5050565b6100cf61011261017e565b6101c2565b610120826101e0565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101765761017182826102b3565b505050565b610103610332565b5f6101bd7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f80375f80365f845af43d5f803e8080156101dc573d5ff35b3d5ffd5b8073ffffffffffffffffffffffffffffffffffffffff163b5f0361024d576040517f4c9c8ce300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60605f808473ffffffffffffffffffffffffffffffffffffffff16846040516102dc91906105ad565b5f60405180830381855af49150503d805f8114610314576040519150601f19603f3d011682016040523d82523d5f602084013e610319565b606091505b509150915061032985838361036a565b95945050505050565b34156100cf576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608261037f5761037a826103fc565b6103f5565b81511580156103a3575073ffffffffffffffffffffffffffffffffffffffff84163b155b156103f2576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610244565b50805b9392505050565b80511561040c5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f808585111561044c575f80fd5b83861115610458575f80fd5b5050820193919092039150565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156104a3575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff811681146104c6575f80fd5b9150602083013567ffffffffffffffff8111156104e1575f80fd5b8301601f810185136104f1575f80fd5b803567ffffffffffffffff81111561050b5761050b610465565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff8211171561057757610577610465565b60405281815282820160200187101561058e575f80fd5b816020840160208301375f602083830101528093505050509250929050565b5f82515f5b818110156105cc57602081860181015185830152016105b2565b505f92019182525091905056fea2646970667358221220e70393c35b3e95d53f92887d1108e4b563be364c093a130a7bb2e621a0aa9b8f64736f6c634300081a0033")
View Source
var Status_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "PENDING",
	2: "FINALIZED",
}
View Source
var Status_value = map[string]int32{
	"UNSPECIFIED": 0,
	"PENDING":     1,
	"FINALIZED":   2,
}
View Source
var UniversalTxStatus_name = map[int32]string{
	0: "UNIVERSAL_TX_STATUS_UNSPECIFIED",
	1: "INBOUND_SUCCESS",
	2: "PENDING_INBOUND_EXECUTION",
	3: "PC_EXECUTED_SUCCESS",
	4: "PC_EXECUTED_FAILED",
	5: "PC_PENDING_REVERT",
	6: "OUTBOUND_PENDING",
	7: "OUTBOUND_SUCCESS",
	8: "OUTBOUND_FAILED",
	9: "CANCELED",
}
View Source
var UniversalTxStatus_value = map[string]int32{
	"UNIVERSAL_TX_STATUS_UNSPECIFIED": 0,
	"INBOUND_SUCCESS":                 1,
	"PENDING_INBOUND_EXECUTION":       2,
	"PC_EXECUTED_SUCCESS":             3,
	"PC_EXECUTED_FAILED":              4,
	"PC_PENDING_REVERT":               5,
	"OUTBOUND_PENDING":                6,
	"OUTBOUND_SUCCESS":                7,
	"OUTBOUND_FAILED":                 8,
	"CANCELED":                        9,
}
View Source
var VerificationType_name = map[int32]string{
	0: "signedVerification",
	1: "universalTxVerification",
}
View Source
var VerificationType_value = map[string]int32{
	"signedVerification":      0,
	"universalTxVerification": 1,
}

Functions

func GetInboundBallotKey

func GetInboundBallotKey(inbound Inbound) (string, error)

func GetInboundUniversalTxKey

func GetInboundUniversalTxKey(inbound Inbound) string

func ParseFactoryABI

func ParseFactoryABI() (abi.ABI, error)

func ParsePRC20ABI

func ParsePRC20ABI() (abi.ABI, error)

func ParseUeaABI

func ParseUeaABI() (abi.ABI, error)

func ParseUniversalCoreABI

func ParseUniversalCoreABI() (abi.ABI, error)

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 AbiMigrationPayload

type AbiMigrationPayload struct {
	Migration common.Address
	Nonce     *big.Int
	Deadline  *big.Int
}

func NewAbiMigrationPayload

func NewAbiMigrationPayload(proto *MigrationPayload) (AbiMigrationPayload, error)

type AbiUniversalAccountId

type AbiUniversalAccountId struct {
	ChainNamespace string
	ChainId        string
	Owner          []byte
}

func NewAbiUniversalAccountId

func NewAbiUniversalAccountId(proto *UniversalAccountId) (AbiUniversalAccountId, error)

type AbiUniversalPayload

type AbiUniversalPayload struct {
	To                   common.Address
	Value                *big.Int
	Data                 []byte
	GasLimit             *big.Int
	MaxFeePerGas         *big.Int
	MaxPriorityFeePerGas *big.Int
	Nonce                *big.Int
	Deadline             *big.Int
	VType                uint8
}

func NewAbiUniversalPayload

func NewAbiUniversalPayload(proto *UniversalPayload) (AbiUniversalPayload, error)

type AccountKeeper

type AccountKeeper interface {
	GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI
}

AccountKeeper defines the expected interface for the auth module

type BankKeeper

type BankKeeper interface {
	SendCoinsFromAccountToModule(
		ctx context.Context,
		senderAddr sdk.AccAddress,
		recipientModule string,
		amt sdk.Coins,
	) error

	SendCoinsFromModuleToAccount(
		ctx context.Context,
		senderModule string,
		recipientAddr sdk.AccAddress,
		amt sdk.Coins,
	) error

	BurnCoins(
		ctx context.Context,
		moduleName string,
		amt sdk.Coins,
	) error

	MintCoins(
		ctx context.Context,
		moduleName string,
		amt sdk.Coins,
	) error
}

BankKeeper defines the expected interface for the bank module.

type EVMKeeper

type EVMKeeper interface {
	CallEVM(
		ctx sdk.Context,
		abi abi.ABI,
		from, contract common.Address,
		commit bool,
		method string,
		args ...interface{},
	) (*types.MsgEthereumTxResponse, error)
	SetAccount(ctx sdk.Context, addr common.Address, account statedb.Account) error
	SetState(ctx sdk.Context, addr common.Address, key common.Hash, value []byte)
	SetCode(ctx sdk.Context, codeHash, code []byte)
	DerivedEVMCall(
		ctx sdk.Context,
		abi abi.ABI,
		from, contract common.Address,
		value, gasLimit *big.Int,
		commit, gasless, isModuleSender bool,
		manualNonce *uint64,
		method string,
		args ...interface{},
	) (*types.MsgEthereumTxResponse, error)
}

EVMKeeper defines the expected interface for the EVM module.

type FeeMarketKeeper

type FeeMarketKeeper interface {
	GetBaseFee(ctx sdk.Context) math.LegacyDec
}

FeeMarketKeeper defines the expected interface for the fee market module.

type GasPrice

type GasPrice struct {
	ObservedChainId string   `protobuf:"bytes,1,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"`
	Signers         []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
	BlockNums       []uint64 `protobuf:"varint,3,rep,packed,name=block_nums,json=blockNums,proto3" json:"block_nums,omitempty"`
	Prices          []uint64 `protobuf:"varint,4,rep,packed,name=prices,proto3" json:"prices,omitempty"`
	MedianIndex     uint64   `protobuf:"varint,5,opt,name=median_index,json=medianIndex,proto3" json:"median_index,omitempty"`
}

GasPrice stores aggregated gas price data for a given chain

func (*GasPrice) Descriptor

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

func (*GasPrice) Equal

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

func (*GasPrice) GetBlockNums

func (m *GasPrice) GetBlockNums() []uint64

func (*GasPrice) GetMedianIndex

func (m *GasPrice) GetMedianIndex() uint64

func (*GasPrice) GetObservedChainId

func (m *GasPrice) GetObservedChainId() string

func (*GasPrice) GetPrices

func (m *GasPrice) GetPrices() []uint64

func (*GasPrice) GetSigners

func (m *GasPrice) GetSigners() []string

func (*GasPrice) Marshal

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

func (*GasPrice) MarshalTo

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

func (*GasPrice) MarshalToSizedBuffer

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

func (*GasPrice) ProtoMessage

func (*GasPrice) ProtoMessage()

func (*GasPrice) Reset

func (m *GasPrice) Reset()

func (*GasPrice) Size

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

func (GasPrice) String

func (p GasPrice) String() string

Stringer method for Params.

func (*GasPrice) Unmarshal

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

func (GasPrice) ValidateBasic

func (p GasPrice) ValidateBasic() error

ValidateBasic does the sanity check on the GasPrice fields.

func (*GasPrice) XXX_DiscardUnknown

func (m *GasPrice) XXX_DiscardUnknown()

func (*GasPrice) XXX_Marshal

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

func (*GasPrice) XXX_Merge

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

func (*GasPrice) XXX_Size

func (m *GasPrice) XXX_Size() int

func (*GasPrice) XXX_Unmarshal

func (m *GasPrice) 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"`
}

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) GetParams

func (m *GenesisState) GetParams() Params

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) ValidateBasic

func (gs GenesisState) ValidateBasic() 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 Inbound

type Inbound struct {
	SourceChain      string            `protobuf:"bytes,1,opt,name=source_chain,json=sourceChain,proto3" json:"source_chain,omitempty"`
	TxHash           string            `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Sender           string            `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient        string            `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount           string            `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	AssetAddr        string            `protobuf:"bytes,6,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"`
	LogIndex         string            `protobuf:"bytes,7,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
	TxType           InboundTxType     `protobuf:"varint,8,opt,name=tx_type,json=txType,proto3,enum=uexecutor.v1.InboundTxType" json:"tx_type,omitempty"`
	UniversalPayload *UniversalPayload `protobuf:"bytes,9,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"`
	VerificationData string            `protobuf:"bytes,10,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"`
}

func (*Inbound) Descriptor

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

func (*Inbound) Equal

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

func (*Inbound) GetAmount

func (m *Inbound) GetAmount() string

func (*Inbound) GetAssetAddr

func (m *Inbound) GetAssetAddr() string

func (*Inbound) GetLogIndex

func (m *Inbound) GetLogIndex() string

func (*Inbound) GetRecipient

func (m *Inbound) GetRecipient() string

func (*Inbound) GetSender

func (m *Inbound) GetSender() string

func (*Inbound) GetSourceChain

func (m *Inbound) GetSourceChain() string

func (*Inbound) GetTxHash

func (m *Inbound) GetTxHash() string

func (*Inbound) GetTxType

func (m *Inbound) GetTxType() InboundTxType

func (*Inbound) GetUniversalPayload

func (m *Inbound) GetUniversalPayload() *UniversalPayload

func (*Inbound) GetVerificationData

func (m *Inbound) GetVerificationData() string

func (*Inbound) Marshal

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

func (*Inbound) MarshalTo

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

func (*Inbound) MarshalToSizedBuffer

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

func (*Inbound) ProtoMessage

func (*Inbound) ProtoMessage()

func (*Inbound) Reset

func (m *Inbound) Reset()

func (*Inbound) Size

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

func (Inbound) String

func (p Inbound) String() string

Stringer method for Params.

func (*Inbound) Unmarshal

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

func (Inbound) ValidateBasic

func (p Inbound) ValidateBasic() error

ValidateBasic does the sanity check on the Inbound fields.

func (*Inbound) XXX_DiscardUnknown

func (m *Inbound) XXX_DiscardUnknown()

func (*Inbound) XXX_Marshal

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

func (*Inbound) XXX_Merge

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

func (*Inbound) XXX_Size

func (m *Inbound) XXX_Size() int

func (*Inbound) XXX_Unmarshal

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

type InboundStatus

type InboundStatus struct {
	Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=uexecutor.v1.Status" json:"status,omitempty"`
}

func (*InboundStatus) Descriptor

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

func (*InboundStatus) GetStatus

func (m *InboundStatus) GetStatus() Status

func (*InboundStatus) Marshal

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

func (*InboundStatus) MarshalTo

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

func (*InboundStatus) MarshalToSizedBuffer

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

func (*InboundStatus) ProtoMessage

func (*InboundStatus) ProtoMessage()

func (*InboundStatus) Reset

func (m *InboundStatus) Reset()

func (*InboundStatus) Size

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

func (*InboundStatus) String

func (m *InboundStatus) String() string

func (*InboundStatus) Unmarshal

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

func (*InboundStatus) XXX_DiscardUnknown

func (m *InboundStatus) XXX_DiscardUnknown()

func (*InboundStatus) XXX_Marshal

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

func (*InboundStatus) XXX_Merge

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

func (*InboundStatus) XXX_Size

func (m *InboundStatus) XXX_Size() int

func (*InboundStatus) XXX_Unmarshal

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

type InboundTxType

type InboundTxType int32
const (
	InboundTxType_UNSPECIFIED_TX    InboundTxType = 0
	InboundTxType_GAS               InboundTxType = 1
	InboundTxType_FUNDS             InboundTxType = 2
	InboundTxType_FUNDS_AND_PAYLOAD InboundTxType = 3
	InboundTxType_GAS_AND_PAYLOAD   InboundTxType = 4
)

func (InboundTxType) EnumDescriptor

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

func (InboundTxType) String

func (x InboundTxType) String() string

type MigrationPayload

type MigrationPayload struct {
	Migration string `protobuf:"bytes,1,opt,name=migration,proto3" json:"migration,omitempty"`
	Nonce     string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Deadline  string `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"`
}

MigrationPayload mirrors the Solidity struct

func (*MigrationPayload) Descriptor

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

func (*MigrationPayload) Equal

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

func (*MigrationPayload) GetDeadline

func (m *MigrationPayload) GetDeadline() string

func (*MigrationPayload) GetMigration

func (m *MigrationPayload) GetMigration() string

func (*MigrationPayload) GetNonce

func (m *MigrationPayload) GetNonce() string

func (*MigrationPayload) Marshal

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

func (*MigrationPayload) MarshalTo

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

func (*MigrationPayload) MarshalToSizedBuffer

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

func (*MigrationPayload) ProtoMessage

func (*MigrationPayload) ProtoMessage()

func (*MigrationPayload) Reset

func (m *MigrationPayload) Reset()

func (*MigrationPayload) Size

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

func (MigrationPayload) String

func (p MigrationPayload) String() string

Stringer method for Params.

func (*MigrationPayload) Unmarshal

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

func (MigrationPayload) ValidateBasic

func (p MigrationPayload) ValidateBasic() error

ValidateBasic does the sanity check on the UniversalPayload fields.

func (*MigrationPayload) XXX_DiscardUnknown

func (m *MigrationPayload) XXX_DiscardUnknown()

func (*MigrationPayload) XXX_Marshal

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

func (*MigrationPayload) XXX_Merge

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

func (*MigrationPayload) XXX_Size

func (m *MigrationPayload) XXX_Size() int

func (*MigrationPayload) XXX_Unmarshal

func (m *MigrationPayload) 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)
	// ExecutePayload defines a message for executing a universal payload
	ExecutePayload(ctx context.Context, in *MsgExecutePayload, opts ...grpc.CallOption) (*MsgExecutePayloadResponse, error)
	// MigrateUEA defines a message for migrating UEA
	MigrateUEA(ctx context.Context, in *MsgMigrateUEA, opts ...grpc.CallOption) (*MsgMigrateUEAResponse, error)
	// VoteInbound defines a message for voting on synthetic assets bridging from external chain to PC
	VoteInbound(ctx context.Context, in *MsgVoteInbound, opts ...grpc.CallOption) (*MsgVoteInboundResponse, error)
	// VoteGasPrice defines a message for universal validators to vote on the gas price
	VoteGasPrice(ctx context.Context, in *MsgVoteGasPrice, opts ...grpc.CallOption) (*MsgVoteGasPriceResponse, 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 MsgExecutePayload

type MsgExecutePayload struct {
	// signer is the Cosmos address initiating the tx (used for tx signing)
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// universal_account_id is the identifier of the owner account
	UniversalAccountId *UniversalAccountId `protobuf:"bytes,2,opt,name=universal_account_id,json=universalAccountId,proto3" json:"universal_account_id,omitempty"`
	// payload is the universal payload to be executed
	UniversalPayload *UniversalPayload `protobuf:"bytes,3,opt,name=universal_payload,json=universalPayload,proto3" json:"universal_payload,omitempty"`
	// verification_data is the bytes passed as verifier data for the given payload.
	VerificationData string `protobuf:"bytes,4,opt,name=verification_data,json=verificationData,proto3" json:"verification_data,omitempty"`
}

MsgExecutePayload defines a message for executing a universal payload

func NewMsgExecutePayload

func NewMsgExecutePayload(
	sender sdk.Address,
	universalAccountId *UniversalAccountId,
	universalPayload *UniversalPayload,
	verificationData string,
) *MsgExecutePayload

NewMsgExecutePayload creates new instance of MsgExecutePayload

func (*MsgExecutePayload) Descriptor

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

func (MsgExecutePayload) GetSignBytes

func (msg MsgExecutePayload) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgExecutePayload) GetSigner

func (m *MsgExecutePayload) GetSigner() string

func (*MsgExecutePayload) GetSigners

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

GetSigners returns the expected signers for a MsgExecutePayload message.

func (*MsgExecutePayload) GetUniversalAccountId

func (m *MsgExecutePayload) GetUniversalAccountId() *UniversalAccountId

func (*MsgExecutePayload) GetUniversalPayload

func (m *MsgExecutePayload) GetUniversalPayload() *UniversalPayload

func (*MsgExecutePayload) GetVerificationData

func (m *MsgExecutePayload) GetVerificationData() string

func (*MsgExecutePayload) Marshal

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

func (*MsgExecutePayload) MarshalTo

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

func (*MsgExecutePayload) MarshalToSizedBuffer

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

func (*MsgExecutePayload) ProtoMessage

func (*MsgExecutePayload) ProtoMessage()

func (*MsgExecutePayload) Reset

func (m *MsgExecutePayload) Reset()

func (MsgExecutePayload) Route

func (msg MsgExecutePayload) Route() string

Route returns the name of the module

func (*MsgExecutePayload) Size

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

func (*MsgExecutePayload) String

func (m *MsgExecutePayload) String() string

func (MsgExecutePayload) Type

func (msg MsgExecutePayload) Type() string

Type returns the action

func (*MsgExecutePayload) Unmarshal

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

func (*MsgExecutePayload) ValidateBasic

func (msg *MsgExecutePayload) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgExecutePayload) XXX_DiscardUnknown

func (m *MsgExecutePayload) XXX_DiscardUnknown()

func (*MsgExecutePayload) XXX_Marshal

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

func (*MsgExecutePayload) XXX_Merge

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

func (*MsgExecutePayload) XXX_Size

func (m *MsgExecutePayload) XXX_Size() int

func (*MsgExecutePayload) XXX_Unmarshal

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

type MsgExecutePayloadResponse

type MsgExecutePayloadResponse struct {
}

MsgExecutePayloadResponse defines the response for MsgExecutePayload.

func (*MsgExecutePayloadResponse) Descriptor

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

func (*MsgExecutePayloadResponse) Marshal

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

func (*MsgExecutePayloadResponse) MarshalTo

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

func (*MsgExecutePayloadResponse) MarshalToSizedBuffer

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

func (*MsgExecutePayloadResponse) ProtoMessage

func (*MsgExecutePayloadResponse) ProtoMessage()

func (*MsgExecutePayloadResponse) Reset

func (m *MsgExecutePayloadResponse) Reset()

func (*MsgExecutePayloadResponse) Size

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

func (*MsgExecutePayloadResponse) String

func (m *MsgExecutePayloadResponse) String() string

func (*MsgExecutePayloadResponse) Unmarshal

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

func (*MsgExecutePayloadResponse) XXX_DiscardUnknown

func (m *MsgExecutePayloadResponse) XXX_DiscardUnknown()

func (*MsgExecutePayloadResponse) XXX_Marshal

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

func (*MsgExecutePayloadResponse) XXX_Merge

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

func (*MsgExecutePayloadResponse) XXX_Size

func (m *MsgExecutePayloadResponse) XXX_Size() int

func (*MsgExecutePayloadResponse) XXX_Unmarshal

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

type MsgMigrateUEA

type MsgMigrateUEA struct {
	// signer is the Cosmos address initiating the tx (used for tx signing)
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// universal_account_id is the identifier of the owner account
	UniversalAccountId *UniversalAccountId `protobuf:"bytes,2,opt,name=universal_account_id,json=universalAccountId,proto3" json:"universal_account_id,omitempty"`
	// payload is the migration payload to be executed
	MigrationPayload *MigrationPayload `protobuf:"bytes,3,opt,name=migration_payload,json=migrationPayload,proto3" json:"migration_payload,omitempty"`
	// signature is the bytes passed as verifier data for the given payload.
	Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

MsgMigrateUEA defines a message for migarting Universal Executor Account (UEA)

func NewMsgMigrateUEA

func NewMsgMigrateUEA(
	sender sdk.Address,
	universalAccountId *UniversalAccountId,
	migrationPayload *MigrationPayload,
	signature string,
) *MsgMigrateUEA

NewMsgMigrateUEA creates new instance of MsgMigrateUEA

func (*MsgMigrateUEA) Descriptor

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

func (*MsgMigrateUEA) GetMigrationPayload

func (m *MsgMigrateUEA) GetMigrationPayload() *MigrationPayload

func (MsgMigrateUEA) GetSignBytes

func (msg MsgMigrateUEA) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgMigrateUEA) GetSignature

func (m *MsgMigrateUEA) GetSignature() string

func (*MsgMigrateUEA) GetSigner

func (m *MsgMigrateUEA) GetSigner() string

func (*MsgMigrateUEA) GetSigners

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

GetSigners returns the expected signers for a MsgExecutePayload message.

func (*MsgMigrateUEA) GetUniversalAccountId

func (m *MsgMigrateUEA) GetUniversalAccountId() *UniversalAccountId

func (*MsgMigrateUEA) Marshal

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

func (*MsgMigrateUEA) MarshalTo

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

func (*MsgMigrateUEA) MarshalToSizedBuffer

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

func (*MsgMigrateUEA) ProtoMessage

func (*MsgMigrateUEA) ProtoMessage()

func (*MsgMigrateUEA) Reset

func (m *MsgMigrateUEA) Reset()

func (MsgMigrateUEA) Route

func (msg MsgMigrateUEA) Route() string

Route returns the name of the module

func (*MsgMigrateUEA) Size

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

func (*MsgMigrateUEA) String

func (m *MsgMigrateUEA) String() string

func (MsgMigrateUEA) Type

func (msg MsgMigrateUEA) Type() string

Type returns the action

func (*MsgMigrateUEA) Unmarshal

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

func (*MsgMigrateUEA) ValidateBasic

func (msg *MsgMigrateUEA) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgMigrateUEA) XXX_DiscardUnknown

func (m *MsgMigrateUEA) XXX_DiscardUnknown()

func (*MsgMigrateUEA) XXX_Marshal

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

func (*MsgMigrateUEA) XXX_Merge

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

func (*MsgMigrateUEA) XXX_Size

func (m *MsgMigrateUEA) XXX_Size() int

func (*MsgMigrateUEA) XXX_Unmarshal

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

type MsgMigrateUEAResponse

type MsgMigrateUEAResponse struct {
}

MsgMigrateUEAResponse defines the response for MsgMigrateUEA.

func (*MsgMigrateUEAResponse) Descriptor

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

func (*MsgMigrateUEAResponse) Marshal

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

func (*MsgMigrateUEAResponse) MarshalTo

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

func (*MsgMigrateUEAResponse) MarshalToSizedBuffer

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

func (*MsgMigrateUEAResponse) ProtoMessage

func (*MsgMigrateUEAResponse) ProtoMessage()

func (*MsgMigrateUEAResponse) Reset

func (m *MsgMigrateUEAResponse) Reset()

func (*MsgMigrateUEAResponse) Size

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

func (*MsgMigrateUEAResponse) String

func (m *MsgMigrateUEAResponse) String() string

func (*MsgMigrateUEAResponse) Unmarshal

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

func (*MsgMigrateUEAResponse) XXX_DiscardUnknown

func (m *MsgMigrateUEAResponse) XXX_DiscardUnknown()

func (*MsgMigrateUEAResponse) XXX_Marshal

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

func (*MsgMigrateUEAResponse) XXX_Merge

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

func (*MsgMigrateUEAResponse) XXX_Size

func (m *MsgMigrateUEAResponse) XXX_Size() int

func (*MsgMigrateUEAResponse) XXX_Unmarshal

func (m *MsgMigrateUEAResponse) 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)
	// ExecutePayload defines a message for executing a universal payload
	ExecutePayload(context.Context, *MsgExecutePayload) (*MsgExecutePayloadResponse, error)
	// MigrateUEA defines a message for migrating UEA
	MigrateUEA(context.Context, *MsgMigrateUEA) (*MsgMigrateUEAResponse, error)
	// VoteInbound defines a message for voting on synthetic assets bridging from external chain to PC
	VoteInbound(context.Context, *MsgVoteInbound) (*MsgVoteInboundResponse, error)
	// VoteGasPrice defines a message for universal validators to vote on the gas price
	VoteGasPrice(context.Context, *MsgVoteGasPrice) (*MsgVoteGasPriceResponse, error)
}

MsgServer is the server API for Msg service.

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 (*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) 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) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

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 MsgVoteGasPrice

type MsgVoteGasPrice struct {
	Signer          string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	ObservedChainId string `protobuf:"bytes,2,opt,name=observed_chain_id,json=observedChainId,proto3" json:"observed_chain_id,omitempty"`
	Price           uint64 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
	BlockNumber     uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
}

MsgVoteGasPrice is broadcasted by Universal Validators to submit their observed gas prices

func NewMsgVoteGasPrice

func NewMsgVoteGasPrice(
	sender sdk.Address,
	observedChainId string,
	price, blockNum uint64,
) *MsgVoteGasPrice

NewMsgVoteGasPrice creates new instance of MsgVoteGasPrice

func (*MsgVoteGasPrice) Descriptor

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

func (*MsgVoteGasPrice) GetBlockNumber

func (m *MsgVoteGasPrice) GetBlockNumber() uint64

func (*MsgVoteGasPrice) GetObservedChainId

func (m *MsgVoteGasPrice) GetObservedChainId() string

func (*MsgVoteGasPrice) GetPrice

func (m *MsgVoteGasPrice) GetPrice() uint64

func (MsgVoteGasPrice) GetSignBytes

func (msg MsgVoteGasPrice) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgVoteGasPrice) GetSigner

func (m *MsgVoteGasPrice) GetSigner() string

func (*MsgVoteGasPrice) GetSigners

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

GetSigners returns the expected signers for a MsgVoteGasPrice message.

func (*MsgVoteGasPrice) Marshal

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

func (*MsgVoteGasPrice) MarshalTo

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

func (*MsgVoteGasPrice) MarshalToSizedBuffer

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

func (*MsgVoteGasPrice) ProtoMessage

func (*MsgVoteGasPrice) ProtoMessage()

func (*MsgVoteGasPrice) Reset

func (m *MsgVoteGasPrice) Reset()

func (MsgVoteGasPrice) Route

func (msg MsgVoteGasPrice) Route() string

Route returns the name of the module

func (*MsgVoteGasPrice) Size

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

func (*MsgVoteGasPrice) String

func (m *MsgVoteGasPrice) String() string

func (MsgVoteGasPrice) Type

func (msg MsgVoteGasPrice) Type() string

Type returns the action

func (*MsgVoteGasPrice) Unmarshal

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

func (*MsgVoteGasPrice) ValidateBasic

func (msg *MsgVoteGasPrice) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgVoteGasPrice) XXX_DiscardUnknown

func (m *MsgVoteGasPrice) XXX_DiscardUnknown()

func (*MsgVoteGasPrice) XXX_Marshal

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

func (*MsgVoteGasPrice) XXX_Merge

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

func (*MsgVoteGasPrice) XXX_Size

func (m *MsgVoteGasPrice) XXX_Size() int

func (*MsgVoteGasPrice) XXX_Unmarshal

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

type MsgVoteGasPriceResponse

type MsgVoteGasPriceResponse struct {
}

MsgVoteGasPriceResponse defines the response for MsgVoteGasPrice

func (*MsgVoteGasPriceResponse) Descriptor

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

func (*MsgVoteGasPriceResponse) Marshal

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

func (*MsgVoteGasPriceResponse) MarshalTo

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

func (*MsgVoteGasPriceResponse) MarshalToSizedBuffer

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

func (*MsgVoteGasPriceResponse) ProtoMessage

func (*MsgVoteGasPriceResponse) ProtoMessage()

func (*MsgVoteGasPriceResponse) Reset

func (m *MsgVoteGasPriceResponse) Reset()

func (*MsgVoteGasPriceResponse) Size

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

func (*MsgVoteGasPriceResponse) String

func (m *MsgVoteGasPriceResponse) String() string

func (*MsgVoteGasPriceResponse) Unmarshal

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

func (*MsgVoteGasPriceResponse) XXX_DiscardUnknown

func (m *MsgVoteGasPriceResponse) XXX_DiscardUnknown()

func (*MsgVoteGasPriceResponse) XXX_Marshal

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

func (*MsgVoteGasPriceResponse) XXX_Merge

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

func (*MsgVoteGasPriceResponse) XXX_Size

func (m *MsgVoteGasPriceResponse) XXX_Size() int

func (*MsgVoteGasPriceResponse) XXX_Unmarshal

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

type MsgVoteInbound

type MsgVoteInbound struct {
	// signer is the Cosmos address initiating the tx (used for tx signing)
	Signer  string   `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Inbound *Inbound `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
}

MsgVoteInbound allows a universal validator to vote on an inbound transfer.

func NewMsgVoteInbound

func NewMsgVoteInbound(
	sender sdk.Address,
	sourceChain string,
	txHash string,
	recipient string,
	amount string,
	assetAddr string,
	logIndex string,
) *MsgVoteInbound

NewMsgVoteInbound creates new instance of MsgVoteInbound

func (*MsgVoteInbound) Descriptor

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

func (*MsgVoteInbound) GetInbound

func (m *MsgVoteInbound) GetInbound() *Inbound

func (MsgVoteInbound) GetSignBytes

func (msg MsgVoteInbound) GetSignBytes() []byte

GetSignBytes implements the LegacyMsg interface.

func (*MsgVoteInbound) GetSigner

func (m *MsgVoteInbound) GetSigner() string

func (*MsgVoteInbound) GetSigners

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

GetSigners returns the expected signers for a MsgVoteInbound message.

func (*MsgVoteInbound) Marshal

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

func (*MsgVoteInbound) MarshalTo

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

func (*MsgVoteInbound) MarshalToSizedBuffer

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

func (*MsgVoteInbound) ProtoMessage

func (*MsgVoteInbound) ProtoMessage()

func (*MsgVoteInbound) Reset

func (m *MsgVoteInbound) Reset()

func (MsgVoteInbound) Route

func (msg MsgVoteInbound) Route() string

Route returns the name of the module

func (*MsgVoteInbound) Size

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

func (*MsgVoteInbound) String

func (m *MsgVoteInbound) String() string

func (MsgVoteInbound) Type

func (msg MsgVoteInbound) Type() string

Type returns the action

func (*MsgVoteInbound) Unmarshal

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

func (*MsgVoteInbound) ValidateBasic

func (msg *MsgVoteInbound) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgVoteInbound) XXX_DiscardUnknown

func (m *MsgVoteInbound) XXX_DiscardUnknown()

func (*MsgVoteInbound) XXX_Marshal

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

func (*MsgVoteInbound) XXX_Merge

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

func (*MsgVoteInbound) XXX_Size

func (m *MsgVoteInbound) XXX_Size() int

func (*MsgVoteInbound) XXX_Unmarshal

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

type MsgVoteInboundResponse

type MsgVoteInboundResponse struct {
}

MsgVoteInboundResponse defines the response for MsgExecutePayload.

func (*MsgVoteInboundResponse) Descriptor

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

func (*MsgVoteInboundResponse) Marshal

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

func (*MsgVoteInboundResponse) MarshalTo

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

func (*MsgVoteInboundResponse) MarshalToSizedBuffer

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

func (*MsgVoteInboundResponse) ProtoMessage

func (*MsgVoteInboundResponse) ProtoMessage()

func (*MsgVoteInboundResponse) Reset

func (m *MsgVoteInboundResponse) Reset()

func (*MsgVoteInboundResponse) Size

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

func (*MsgVoteInboundResponse) String

func (m *MsgVoteInboundResponse) String() string

func (*MsgVoteInboundResponse) Unmarshal

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

func (*MsgVoteInboundResponse) XXX_DiscardUnknown

func (m *MsgVoteInboundResponse) XXX_DiscardUnknown()

func (*MsgVoteInboundResponse) XXX_Marshal

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

func (*MsgVoteInboundResponse) XXX_Merge

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

func (*MsgVoteInboundResponse) XXX_Size

func (m *MsgVoteInboundResponse) XXX_Size() int

func (*MsgVoteInboundResponse) XXX_Unmarshal

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

type OutboundTx

type OutboundTx struct {
	DestinationChain string `protobuf:"bytes,1,opt,name=destination_chain,json=destinationChain,proto3" json:"destination_chain,omitempty"`
	TxHash           string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Recipient        string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount           string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	AssetAddr        string `protobuf:"bytes,5,opt,name=asset_addr,json=assetAddr,proto3" json:"asset_addr,omitempty"`
}

func (*OutboundTx) Descriptor

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

func (*OutboundTx) Equal

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

func (*OutboundTx) GetAmount

func (m *OutboundTx) GetAmount() string

func (*OutboundTx) GetAssetAddr

func (m *OutboundTx) GetAssetAddr() string

func (*OutboundTx) GetDestinationChain

func (m *OutboundTx) GetDestinationChain() string

func (*OutboundTx) GetRecipient

func (m *OutboundTx) GetRecipient() string

func (*OutboundTx) GetTxHash

func (m *OutboundTx) GetTxHash() string

func (*OutboundTx) Marshal

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

func (*OutboundTx) MarshalTo

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

func (*OutboundTx) MarshalToSizedBuffer

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

func (*OutboundTx) ProtoMessage

func (*OutboundTx) ProtoMessage()

func (*OutboundTx) Reset

func (m *OutboundTx) Reset()

func (*OutboundTx) Size

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

func (OutboundTx) String

func (p OutboundTx) String() string

Stringer method for Params.

func (*OutboundTx) Unmarshal

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

func (OutboundTx) ValidateBasic

func (p OutboundTx) ValidateBasic() error

ValidateBasic does the sanity check on the OutboundTx fields.

func (*OutboundTx) XXX_DiscardUnknown

func (m *OutboundTx) XXX_DiscardUnknown()

func (*OutboundTx) XXX_Marshal

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

func (*OutboundTx) XXX_Merge

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

func (*OutboundTx) XXX_Size

func (m *OutboundTx) XXX_Size() int

func (*OutboundTx) XXX_Unmarshal

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

type PCTx

type PCTx struct {
	TxHash      string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Sender      string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	GasUsed     uint64 `protobuf:"varint,3,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	BlockHeight uint64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	Status      string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	ErrorMsg    string `protobuf:"bytes,7,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
}

func (*PCTx) Descriptor

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

func (*PCTx) Equal

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

func (*PCTx) GetBlockHeight

func (m *PCTx) GetBlockHeight() uint64

func (*PCTx) GetErrorMsg

func (m *PCTx) GetErrorMsg() string

func (*PCTx) GetGasUsed

func (m *PCTx) GetGasUsed() uint64

func (*PCTx) GetSender

func (m *PCTx) GetSender() string

func (*PCTx) GetStatus

func (m *PCTx) GetStatus() string

func (*PCTx) GetTxHash

func (m *PCTx) GetTxHash() string

func (*PCTx) Marshal

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

func (*PCTx) MarshalTo

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

func (*PCTx) MarshalToSizedBuffer

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

func (*PCTx) ProtoMessage

func (*PCTx) ProtoMessage()

func (*PCTx) Reset

func (m *PCTx) Reset()

func (*PCTx) Size

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

func (PCTx) String

func (p PCTx) String() string

Stringer method for Params.

func (*PCTx) Unmarshal

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

func (PCTx) ValidateBasic

func (p PCTx) ValidateBasic() error

ValidateBasic does the sanity check on the PCTx fields.

func (*PCTx) XXX_DiscardUnknown

func (m *PCTx) XXX_DiscardUnknown()

func (*PCTx) XXX_Marshal

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

func (*PCTx) XXX_Merge

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

func (*PCTx) XXX_Size

func (m *PCTx) XXX_Size() int

func (*PCTx) XXX_Unmarshal

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

type ParamSubspace

type ParamSubspace interface {
	Get(context.Context, []byte, interface{})
	Set(context.Context, []byte, interface{})
}

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
	SomeValue bool `protobuf:"varint,2,opt,name=some_value,json=someValue,proto3" json:"some_value,omitempty"`
}

Params defines the set of module parameters.

func DefaultParams

func DefaultParams() Params

DefaultParams returns default module parameters.

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) GetSomeValue

func (m *Params) GetSomeValue() bool

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) ValidateBasic

func (p Params) ValidateBasic() 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 QueryAllGasPricesRequest

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

All gas prices

func (*QueryAllGasPricesRequest) Descriptor

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

func (*QueryAllGasPricesRequest) GetPagination

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

func (*QueryAllGasPricesRequest) Marshal

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

func (*QueryAllGasPricesRequest) MarshalTo

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

func (*QueryAllGasPricesRequest) MarshalToSizedBuffer

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

func (*QueryAllGasPricesRequest) ProtoMessage

func (*QueryAllGasPricesRequest) ProtoMessage()

func (*QueryAllGasPricesRequest) Reset

func (m *QueryAllGasPricesRequest) Reset()

func (*QueryAllGasPricesRequest) Size

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

func (*QueryAllGasPricesRequest) String

func (m *QueryAllGasPricesRequest) String() string

func (*QueryAllGasPricesRequest) Unmarshal

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

func (*QueryAllGasPricesRequest) XXX_DiscardUnknown

func (m *QueryAllGasPricesRequest) XXX_DiscardUnknown()

func (*QueryAllGasPricesRequest) XXX_Marshal

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

func (*QueryAllGasPricesRequest) XXX_Merge

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

func (*QueryAllGasPricesRequest) XXX_Size

func (m *QueryAllGasPricesRequest) XXX_Size() int

func (*QueryAllGasPricesRequest) XXX_Unmarshal

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

type QueryAllGasPricesResponse

type QueryAllGasPricesResponse struct {
	GasPrices  []*GasPrice         `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllGasPricesResponse) Descriptor

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

func (*QueryAllGasPricesResponse) GetGasPrices

func (m *QueryAllGasPricesResponse) GetGasPrices() []*GasPrice

func (*QueryAllGasPricesResponse) GetPagination

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

func (*QueryAllGasPricesResponse) Marshal

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

func (*QueryAllGasPricesResponse) MarshalTo

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

func (*QueryAllGasPricesResponse) MarshalToSizedBuffer

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

func (*QueryAllGasPricesResponse) ProtoMessage

func (*QueryAllGasPricesResponse) ProtoMessage()

func (*QueryAllGasPricesResponse) Reset

func (m *QueryAllGasPricesResponse) Reset()

func (*QueryAllGasPricesResponse) Size

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

func (*QueryAllGasPricesResponse) String

func (m *QueryAllGasPricesResponse) String() string

func (*QueryAllGasPricesResponse) Unmarshal

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

func (*QueryAllGasPricesResponse) XXX_DiscardUnknown

func (m *QueryAllGasPricesResponse) XXX_DiscardUnknown()

func (*QueryAllGasPricesResponse) XXX_Marshal

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

func (*QueryAllGasPricesResponse) XXX_Merge

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

func (*QueryAllGasPricesResponse) XXX_Size

func (m *QueryAllGasPricesResponse) XXX_Size() int

func (*QueryAllGasPricesResponse) XXX_Unmarshal

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

type QueryAllPendingInboundsRequest

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

Pending Inbounds

func (*QueryAllPendingInboundsRequest) Descriptor

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

func (*QueryAllPendingInboundsRequest) GetPagination

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

func (*QueryAllPendingInboundsRequest) Marshal

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

func (*QueryAllPendingInboundsRequest) MarshalTo

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

func (*QueryAllPendingInboundsRequest) MarshalToSizedBuffer

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

func (*QueryAllPendingInboundsRequest) ProtoMessage

func (*QueryAllPendingInboundsRequest) ProtoMessage()

func (*QueryAllPendingInboundsRequest) Reset

func (m *QueryAllPendingInboundsRequest) Reset()

func (*QueryAllPendingInboundsRequest) Size

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

func (*QueryAllPendingInboundsRequest) String

func (*QueryAllPendingInboundsRequest) Unmarshal

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

func (*QueryAllPendingInboundsRequest) XXX_DiscardUnknown

func (m *QueryAllPendingInboundsRequest) XXX_DiscardUnknown()

func (*QueryAllPendingInboundsRequest) XXX_Marshal

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

func (*QueryAllPendingInboundsRequest) XXX_Merge

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

func (*QueryAllPendingInboundsRequest) XXX_Size

func (m *QueryAllPendingInboundsRequest) XXX_Size() int

func (*QueryAllPendingInboundsRequest) XXX_Unmarshal

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

type QueryAllPendingInboundsResponse

type QueryAllPendingInboundsResponse struct {
	InboundIds []string            `protobuf:"bytes,1,rep,name=inbound_ids,json=inboundIds,proto3" json:"inbound_ids,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPendingInboundsResponse) Descriptor

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

func (*QueryAllPendingInboundsResponse) GetInboundIds

func (m *QueryAllPendingInboundsResponse) GetInboundIds() []string

func (*QueryAllPendingInboundsResponse) GetPagination

func (*QueryAllPendingInboundsResponse) Marshal

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

func (*QueryAllPendingInboundsResponse) MarshalTo

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

func (*QueryAllPendingInboundsResponse) MarshalToSizedBuffer

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

func (*QueryAllPendingInboundsResponse) ProtoMessage

func (*QueryAllPendingInboundsResponse) ProtoMessage()

func (*QueryAllPendingInboundsResponse) Reset

func (*QueryAllPendingInboundsResponse) Size

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

func (*QueryAllPendingInboundsResponse) String

func (*QueryAllPendingInboundsResponse) Unmarshal

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

func (*QueryAllPendingInboundsResponse) XXX_DiscardUnknown

func (m *QueryAllPendingInboundsResponse) XXX_DiscardUnknown()

func (*QueryAllPendingInboundsResponse) XXX_Marshal

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

func (*QueryAllPendingInboundsResponse) XXX_Merge

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

func (*QueryAllPendingInboundsResponse) XXX_Size

func (m *QueryAllPendingInboundsResponse) XXX_Size() int

func (*QueryAllPendingInboundsResponse) XXX_Unmarshal

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

type QueryAllUniversalTxRequest

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

func (*QueryAllUniversalTxRequest) Descriptor

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

func (*QueryAllUniversalTxRequest) GetPagination

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

func (*QueryAllUniversalTxRequest) Marshal

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

func (*QueryAllUniversalTxRequest) MarshalTo

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

func (*QueryAllUniversalTxRequest) MarshalToSizedBuffer

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

func (*QueryAllUniversalTxRequest) ProtoMessage

func (*QueryAllUniversalTxRequest) ProtoMessage()

func (*QueryAllUniversalTxRequest) Reset

func (m *QueryAllUniversalTxRequest) Reset()

func (*QueryAllUniversalTxRequest) Size

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

func (*QueryAllUniversalTxRequest) String

func (m *QueryAllUniversalTxRequest) String() string

func (*QueryAllUniversalTxRequest) Unmarshal

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

func (*QueryAllUniversalTxRequest) XXX_DiscardUnknown

func (m *QueryAllUniversalTxRequest) XXX_DiscardUnknown()

func (*QueryAllUniversalTxRequest) XXX_Marshal

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

func (*QueryAllUniversalTxRequest) XXX_Merge

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

func (*QueryAllUniversalTxRequest) XXX_Size

func (m *QueryAllUniversalTxRequest) XXX_Size() int

func (*QueryAllUniversalTxRequest) XXX_Unmarshal

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

type QueryAllUniversalTxResponse

type QueryAllUniversalTxResponse struct {
	UniversalTxs []*UniversalTx      `protobuf:"bytes,1,rep,name=universal_txs,json=universalTxs,proto3" json:"universal_txs,omitempty"`
	Pagination   *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllUniversalTxResponse) Descriptor

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

func (*QueryAllUniversalTxResponse) GetPagination

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

func (*QueryAllUniversalTxResponse) GetUniversalTxs

func (m *QueryAllUniversalTxResponse) GetUniversalTxs() []*UniversalTx

func (*QueryAllUniversalTxResponse) Marshal

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

func (*QueryAllUniversalTxResponse) MarshalTo

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

func (*QueryAllUniversalTxResponse) MarshalToSizedBuffer

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

func (*QueryAllUniversalTxResponse) ProtoMessage

func (*QueryAllUniversalTxResponse) ProtoMessage()

func (*QueryAllUniversalTxResponse) Reset

func (m *QueryAllUniversalTxResponse) Reset()

func (*QueryAllUniversalTxResponse) Size

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

func (*QueryAllUniversalTxResponse) String

func (m *QueryAllUniversalTxResponse) String() string

func (*QueryAllUniversalTxResponse) Unmarshal

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

func (*QueryAllUniversalTxResponse) XXX_DiscardUnknown

func (m *QueryAllUniversalTxResponse) XXX_DiscardUnknown()

func (*QueryAllUniversalTxResponse) XXX_Marshal

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

func (*QueryAllUniversalTxResponse) XXX_Merge

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

func (*QueryAllUniversalTxResponse) XXX_Size

func (m *QueryAllUniversalTxResponse) XXX_Size() int

func (*QueryAllUniversalTxResponse) XXX_Unmarshal

func (m *QueryAllUniversalTxResponse) 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)
	// Queries all pending inbound IDs.
	AllPendingInbounds(ctx context.Context, in *QueryAllPendingInboundsRequest, opts ...grpc.CallOption) (*QueryAllPendingInboundsResponse, error)
	// Queries a single UniversalTx by ID.
	GetUniversalTx(ctx context.Context, in *QueryGetUniversalTxRequest, opts ...grpc.CallOption) (*QueryGetUniversalTxResponse, error)
	// Queries all UniversalTxs.
	AllUniversalTx(ctx context.Context, in *QueryAllUniversalTxRequest, opts ...grpc.CallOption) (*QueryAllUniversalTxResponse, error)
	// 🔹 Queries gas price for a specific chain
	GasPrice(ctx context.Context, in *QueryGasPriceRequest, opts ...grpc.CallOption) (*QueryGasPriceResponse, error)
	// 🔹 Queries all gas prices across chains
	AllGasPrices(ctx context.Context, in *QueryAllGasPricesRequest, opts ...grpc.CallOption) (*QueryAllGasPricesResponse, 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 QueryGasPriceRequest

type QueryGasPriceRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

Single gas price

func (*QueryGasPriceRequest) Descriptor

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

func (*QueryGasPriceRequest) GetChainId

func (m *QueryGasPriceRequest) GetChainId() string

func (*QueryGasPriceRequest) Marshal

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

func (*QueryGasPriceRequest) MarshalTo

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

func (*QueryGasPriceRequest) MarshalToSizedBuffer

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

func (*QueryGasPriceRequest) ProtoMessage

func (*QueryGasPriceRequest) ProtoMessage()

func (*QueryGasPriceRequest) Reset

func (m *QueryGasPriceRequest) Reset()

func (*QueryGasPriceRequest) Size

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

func (*QueryGasPriceRequest) String

func (m *QueryGasPriceRequest) String() string

func (*QueryGasPriceRequest) Unmarshal

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

func (*QueryGasPriceRequest) XXX_DiscardUnknown

func (m *QueryGasPriceRequest) XXX_DiscardUnknown()

func (*QueryGasPriceRequest) XXX_Marshal

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

func (*QueryGasPriceRequest) XXX_Merge

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

func (*QueryGasPriceRequest) XXX_Size

func (m *QueryGasPriceRequest) XXX_Size() int

func (*QueryGasPriceRequest) XXX_Unmarshal

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

type QueryGasPriceResponse

type QueryGasPriceResponse struct {
	GasPrice *GasPrice `protobuf:"bytes,1,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
}

func (*QueryGasPriceResponse) Descriptor

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

func (*QueryGasPriceResponse) GetGasPrice

func (m *QueryGasPriceResponse) GetGasPrice() *GasPrice

func (*QueryGasPriceResponse) Marshal

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

func (*QueryGasPriceResponse) MarshalTo

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

func (*QueryGasPriceResponse) MarshalToSizedBuffer

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

func (*QueryGasPriceResponse) ProtoMessage

func (*QueryGasPriceResponse) ProtoMessage()

func (*QueryGasPriceResponse) Reset

func (m *QueryGasPriceResponse) Reset()

func (*QueryGasPriceResponse) Size

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

func (*QueryGasPriceResponse) String

func (m *QueryGasPriceResponse) String() string

func (*QueryGasPriceResponse) Unmarshal

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

func (*QueryGasPriceResponse) XXX_DiscardUnknown

func (m *QueryGasPriceResponse) XXX_DiscardUnknown()

func (*QueryGasPriceResponse) XXX_Marshal

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

func (*QueryGasPriceResponse) XXX_Merge

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

func (*QueryGasPriceResponse) XXX_Size

func (m *QueryGasPriceResponse) XXX_Size() int

func (*QueryGasPriceResponse) XXX_Unmarshal

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

type QueryGetUniversalTxRequest

type QueryGetUniversalTxRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

Get UniversalTx

func (*QueryGetUniversalTxRequest) Descriptor

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

func (*QueryGetUniversalTxRequest) GetId

func (*QueryGetUniversalTxRequest) Marshal

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

func (*QueryGetUniversalTxRequest) MarshalTo

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

func (*QueryGetUniversalTxRequest) MarshalToSizedBuffer

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

func (*QueryGetUniversalTxRequest) ProtoMessage

func (*QueryGetUniversalTxRequest) ProtoMessage()

func (*QueryGetUniversalTxRequest) Reset

func (m *QueryGetUniversalTxRequest) Reset()

func (*QueryGetUniversalTxRequest) Size

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

func (*QueryGetUniversalTxRequest) String

func (m *QueryGetUniversalTxRequest) String() string

func (*QueryGetUniversalTxRequest) Unmarshal

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

func (*QueryGetUniversalTxRequest) XXX_DiscardUnknown

func (m *QueryGetUniversalTxRequest) XXX_DiscardUnknown()

func (*QueryGetUniversalTxRequest) XXX_Marshal

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

func (*QueryGetUniversalTxRequest) XXX_Merge

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

func (*QueryGetUniversalTxRequest) XXX_Size

func (m *QueryGetUniversalTxRequest) XXX_Size() int

func (*QueryGetUniversalTxRequest) XXX_Unmarshal

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

type QueryGetUniversalTxResponse

type QueryGetUniversalTxResponse struct {
	UniversalTx *UniversalTx `protobuf:"bytes,1,opt,name=universal_tx,json=universalTx,proto3" json:"universal_tx,omitempty"`
}

func (*QueryGetUniversalTxResponse) Descriptor

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

func (*QueryGetUniversalTxResponse) GetUniversalTx

func (m *QueryGetUniversalTxResponse) GetUniversalTx() *UniversalTx

func (*QueryGetUniversalTxResponse) Marshal

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

func (*QueryGetUniversalTxResponse) MarshalTo

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

func (*QueryGetUniversalTxResponse) MarshalToSizedBuffer

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

func (*QueryGetUniversalTxResponse) ProtoMessage

func (*QueryGetUniversalTxResponse) ProtoMessage()

func (*QueryGetUniversalTxResponse) Reset

func (m *QueryGetUniversalTxResponse) Reset()

func (*QueryGetUniversalTxResponse) Size

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

func (*QueryGetUniversalTxResponse) String

func (m *QueryGetUniversalTxResponse) String() string

func (*QueryGetUniversalTxResponse) Unmarshal

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

func (*QueryGetUniversalTxResponse) XXX_DiscardUnknown

func (m *QueryGetUniversalTxResponse) XXX_DiscardUnknown()

func (*QueryGetUniversalTxResponse) XXX_Marshal

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

func (*QueryGetUniversalTxResponse) XXX_Merge

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

func (*QueryGetUniversalTxResponse) XXX_Size

func (m *QueryGetUniversalTxResponse) XXX_Size() int

func (*QueryGetUniversalTxResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

Existing types

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 defines the parameters of the module.
	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)
	// Queries all pending inbound IDs.
	AllPendingInbounds(context.Context, *QueryAllPendingInboundsRequest) (*QueryAllPendingInboundsResponse, error)
	// Queries a single UniversalTx by ID.
	GetUniversalTx(context.Context, *QueryGetUniversalTxRequest) (*QueryGetUniversalTxResponse, error)
	// Queries all UniversalTxs.
	AllUniversalTx(context.Context, *QueryAllUniversalTxRequest) (*QueryAllUniversalTxResponse, error)
	// 🔹 Queries gas price for a specific chain
	GasPrice(context.Context, *QueryGasPriceRequest) (*QueryGasPriceResponse, error)
	// 🔹 Queries all gas prices across chains
	AllGasPrices(context.Context, *QueryAllGasPricesRequest) (*QueryAllGasPricesResponse, error)
}

QueryServer is the server API for Query service.

type Status

type Status int32
const (
	Status_UNSPECIFIED Status = 0
	Status_PENDING     Status = 1
	Status_FINALIZED   Status = 2
)

func (Status) EnumDescriptor

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

func (Status) String

func (x Status) String() string

func (Status) ValidateBasic

func (p Status) ValidateBasic() error

TODO: update the validation fn Validate does the sanity check on the params.

type UValidatorKeeper

type UValidatorKeeper interface {
	IsTombstonedUniversalValidator(ctx context.Context, universalValidator string) (bool, error)
	IsBondedUniversalValidator(ctx context.Context, universalValidator string) (bool, error)
	VoteOnBallot(
		ctx context.Context,
		id string,
		ballotType uvalidatortypes.BallotObservationType,
		voter string,
		voteResult uvalidatortypes.VoteResult,
		voters []string,
		votesNeeded int64,
		expiryAfterBlocks int64,
	) (
		ballot uvalidatortypes.Ballot,
		isFinalized bool,
		isNew bool,
		err error)
	GetEligibleVoters(ctx context.Context) ([]uvalidatortypes.UniversalValidator, error)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ExecutePayload

func (*UnimplementedMsgServer) MigrateUEA

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) VoteGasPrice

func (*UnimplementedMsgServer) VoteInbound

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllGasPrices

func (*UnimplementedQueryServer) AllPendingInbounds

func (*UnimplementedQueryServer) AllUniversalTx

func (*UnimplementedQueryServer) GasPrice

func (*UnimplementedQueryServer) GetUniversalTx

func (*UnimplementedQueryServer) Params

type UniversalAccountId

type UniversalAccountId struct {
	ChainNamespace string `protobuf:"bytes,1,opt,name=chain_namespace,json=chainNamespace,proto3" json:"chain_namespace,omitempty"`
	ChainId        string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Owner          string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

UniversalAccountId is the identifier of a owner account

func (*UniversalAccountId) Descriptor

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

func (*UniversalAccountId) Equal

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

func (UniversalAccountId) GetCAIP2

func (p UniversalAccountId) GetCAIP2() string

GetCAIP2 returns the CAIP-2 identifier for the UniversalAccountId.

func (*UniversalAccountId) GetChainId

func (m *UniversalAccountId) GetChainId() string

func (*UniversalAccountId) GetChainNamespace

func (m *UniversalAccountId) GetChainNamespace() string

func (*UniversalAccountId) GetOwner

func (m *UniversalAccountId) GetOwner() string

func (*UniversalAccountId) Marshal

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

func (*UniversalAccountId) MarshalTo

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

func (*UniversalAccountId) MarshalToSizedBuffer

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

func (*UniversalAccountId) ProtoMessage

func (*UniversalAccountId) ProtoMessage()

func (*UniversalAccountId) Reset

func (m *UniversalAccountId) Reset()

func (*UniversalAccountId) Size

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

func (UniversalAccountId) String

func (p UniversalAccountId) String() string

Stringer method for Params.

func (*UniversalAccountId) Unmarshal

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

func (UniversalAccountId) ValidateBasic

func (p UniversalAccountId) ValidateBasic() error

Validate does the sanity check on the params.

func (*UniversalAccountId) XXX_DiscardUnknown

func (m *UniversalAccountId) XXX_DiscardUnknown()

func (*UniversalAccountId) XXX_Marshal

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

func (*UniversalAccountId) XXX_Merge

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

func (*UniversalAccountId) XXX_Size

func (m *UniversalAccountId) XXX_Size() int

func (*UniversalAccountId) XXX_Unmarshal

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

type UniversalPayload

type UniversalPayload struct {
	To                   string           `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Value                string           `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Data                 string           `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	GasLimit             string           `protobuf:"bytes,4,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	MaxFeePerGas         string           `protobuf:"bytes,5,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"`
	MaxPriorityFeePerGas string           `` /* 127-byte string literal not displayed */
	Nonce                string           `protobuf:"bytes,7,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Deadline             string           `protobuf:"bytes,8,opt,name=deadline,proto3" json:"deadline,omitempty"`
	VType                VerificationType `protobuf:"varint,9,opt,name=v_type,json=vType,proto3,enum=uexecutor.v1.VerificationType" json:"v_type,omitempty"`
}

UniversalPayload mirrors the Solidity struct

func (*UniversalPayload) Descriptor

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

func (*UniversalPayload) Equal

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

func (*UniversalPayload) GetData

func (m *UniversalPayload) GetData() string

func (*UniversalPayload) GetDeadline

func (m *UniversalPayload) GetDeadline() string

func (*UniversalPayload) GetGasLimit

func (m *UniversalPayload) GetGasLimit() string

func (*UniversalPayload) GetMaxFeePerGas

func (m *UniversalPayload) GetMaxFeePerGas() string

func (*UniversalPayload) GetMaxPriorityFeePerGas

func (m *UniversalPayload) GetMaxPriorityFeePerGas() string

func (*UniversalPayload) GetNonce

func (m *UniversalPayload) GetNonce() string

func (*UniversalPayload) GetTo

func (m *UniversalPayload) GetTo() string

func (*UniversalPayload) GetVType

func (m *UniversalPayload) GetVType() VerificationType

func (*UniversalPayload) GetValue

func (m *UniversalPayload) GetValue() string

func (*UniversalPayload) Marshal

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

func (*UniversalPayload) MarshalTo

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

func (*UniversalPayload) MarshalToSizedBuffer

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

func (*UniversalPayload) ProtoMessage

func (*UniversalPayload) ProtoMessage()

func (*UniversalPayload) Reset

func (m *UniversalPayload) Reset()

func (*UniversalPayload) Size

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

func (UniversalPayload) String

func (p UniversalPayload) String() string

Stringer method for Params.

func (*UniversalPayload) Unmarshal

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

func (UniversalPayload) ValidateBasic

func (p UniversalPayload) ValidateBasic() error

ValidateBasic does the sanity check on the UniversalPayload fields.

func (*UniversalPayload) XXX_DiscardUnknown

func (m *UniversalPayload) XXX_DiscardUnknown()

func (*UniversalPayload) XXX_Marshal

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

func (*UniversalPayload) XXX_Merge

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

func (*UniversalPayload) XXX_Size

func (m *UniversalPayload) XXX_Size() int

func (*UniversalPayload) XXX_Unmarshal

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

type UniversalTx

type UniversalTx struct {
	InboundTx       *Inbound          `protobuf:"bytes,1,opt,name=inbound_tx,json=inboundTx,proto3" json:"inbound_tx,omitempty"`
	PcTx            []*PCTx           `protobuf:"bytes,2,rep,name=pc_tx,json=pcTx,proto3" json:"pc_tx,omitempty"`
	OutboundTx      *OutboundTx       `protobuf:"bytes,3,opt,name=outbound_tx,json=outboundTx,proto3" json:"outbound_tx,omitempty"`
	UniversalStatus UniversalTxStatus `` /* 143-byte string literal not displayed */
}

func (*UniversalTx) Descriptor

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

func (*UniversalTx) Equal

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

func (*UniversalTx) GetInboundTx

func (m *UniversalTx) GetInboundTx() *Inbound

func (*UniversalTx) GetOutboundTx

func (m *UniversalTx) GetOutboundTx() *OutboundTx

func (*UniversalTx) GetPcTx

func (m *UniversalTx) GetPcTx() []*PCTx

func (*UniversalTx) GetUniversalStatus

func (m *UniversalTx) GetUniversalStatus() UniversalTxStatus

func (*UniversalTx) Marshal

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

func (*UniversalTx) MarshalTo

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

func (*UniversalTx) MarshalToSizedBuffer

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

func (*UniversalTx) ProtoMessage

func (*UniversalTx) ProtoMessage()

func (*UniversalTx) Reset

func (m *UniversalTx) Reset()

func (*UniversalTx) Size

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

func (UniversalTx) String

func (p UniversalTx) String() string

Stringer method for Params.

func (*UniversalTx) Unmarshal

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

func (UniversalTx) ValidateBasic

func (p UniversalTx) ValidateBasic() error

ValidateBasic does the sanity check on the UniversalTx fields.

func (*UniversalTx) XXX_DiscardUnknown

func (m *UniversalTx) XXX_DiscardUnknown()

func (*UniversalTx) XXX_Marshal

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

func (*UniversalTx) XXX_Merge

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

func (*UniversalTx) XXX_Size

func (m *UniversalTx) XXX_Size() int

func (*UniversalTx) XXX_Unmarshal

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

type UniversalTxStatus

type UniversalTxStatus int32
const (
	UniversalTxStatus_UNIVERSAL_TX_STATUS_UNSPECIFIED UniversalTxStatus = 0
	UniversalTxStatus_INBOUND_SUCCESS                 UniversalTxStatus = 1
	UniversalTxStatus_PENDING_INBOUND_EXECUTION       UniversalTxStatus = 2
	UniversalTxStatus_PC_EXECUTED_SUCCESS             UniversalTxStatus = 3
	UniversalTxStatus_PC_EXECUTED_FAILED              UniversalTxStatus = 4
	UniversalTxStatus_PC_PENDING_REVERT               UniversalTxStatus = 5
	UniversalTxStatus_OUTBOUND_PENDING                UniversalTxStatus = 6
	UniversalTxStatus_OUTBOUND_SUCCESS                UniversalTxStatus = 7
	UniversalTxStatus_OUTBOUND_FAILED                 UniversalTxStatus = 8
	UniversalTxStatus_CANCELED                        UniversalTxStatus = 9
)

func (UniversalTxStatus) EnumDescriptor

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

func (UniversalTxStatus) String

func (x UniversalTxStatus) String() string

type UregistryKeeper

type UregistryKeeper interface {
	GetChainConfig(ctx context.Context, chain string) (uregistrytypes.ChainConfig, error)
	IsChainOutboundEnabled(ctx context.Context, chain string) (bool, error)
	IsChainInboundEnabled(ctx context.Context, chain string) (bool, error)
	GetTokenConfig(ctx context.Context, chain, address string) (uregistrytypes.TokenConfig, error)
}

UregistryKeeper defines the expected interface for the UE module.

type UtxverifierKeeper

type UtxverifierKeeper interface {
	StoreVerifiedInboundTx(ctx context.Context, chain, txHash string, verifiedTxMetadata utxverifiertypes.VerifiedTxMetadata) error
}

UtxverifierKeeper defines the expected interface for the UtxverifierKeeper moduledule.

type VerificationType

type VerificationType int32

Signature verification types

const (
	VerificationType_signedVerification      VerificationType = 0
	VerificationType_universalTxVerification VerificationType = 1
)

func (VerificationType) EnumDescriptor

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

func (VerificationType) String

func (x VerificationType) String() string

Jump to

Keyboard shortcuts

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