Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v1 source realm

Constants 1

const IBC_TOKEN, GRC20_TOKEN, NATIVE_COIN

 1const (
 2	// IBC_TOKEN is a zkgm-issued ibc/ voucher. Supply is minted on recv and
 3	// burned on send-side UNESCROW or maker burn-address ack; custody moves via
 4	// transferVoucher between holders and the proxy escrow.
 5	IBC_TOKEN = iota
 6	// GRC20_TOKEN is a locally registered grc20 (not a zkgm voucher). Custody
 7	// moves via Teller TransferFrom/Transfer; this realm cannot burn its supply.
 8	GRC20_TOKEN
 9	// NATIVE_COIN is a banker coin attached with tx -send. Escrow consumes the
10	// attached funds budget; unescrow releases from the proxy banker balance.
11	NATIVE_COIN
12)
source

Functions 2

func ChannelBalanceKeyV2

Action
1func ChannelBalanceKeyV2(channelId types.ChannelId, path *u256.Uint, baseToken, quoteToken []byte) string
source

ChannelBalanceKeyV2 returns the storage key for a v2 channel balance entry.

func NewUCS03ZkgmV1

Action
1func NewUCS03ZkgmV1(store zkgm.IStore) zkgm.IApp
source

NewUCS03ZkgmV1 constructs a fresh v1 impl bound to the injected store.

Imports 19

Source Files 16