MergeCoins
type MergeCoins
Command to merge multiple coins of the same type into a single coin
BCS
The BCS serialized form for this type is defined by the following ABNF:
```text merge-coins = argument (vector argument) ```
type MergeCoins struct {
// contains filtered or unexported fields
}
func LiftFromExternalMergeCoins
func LiftFromExternalMergeCoins(handle uint64) *MergeCoins
func MergeCoinsFromBcs
func MergeCoinsFromBcs(bcs []byte) (*MergeCoins, error)
Create this type from BCS encoded bytes.
func MergeCoinsFromJson
func MergeCoinsFromJson(json string) (*MergeCoins, error)
Create this type from JSON encoded string.
func NewMergeCoins
func NewMergeCoins(coin *Argument, coinsToMerge []*Argument) *MergeCoins
func (*MergeCoins) Coin
func (_self *MergeCoins) Coin() *Argument
Coin to merge coins into
func (*MergeCoins) CoinsToMerge
func (_self *MergeCoins) CoinsToMerge() []*Argument
Set of coins to merge into `coin`
All listed coins must be of the same type and be the same type as `coin`
func (*MergeCoins) DebugString
func (_self *MergeCoins) DebugString() string
func (*MergeCoins) Destroy
func (object *MergeCoins) Destroy()
func (*MergeCoins) Eq
func (_self *MergeCoins) Eq(other *MergeCoins) bool
func (*MergeCoins) Ne
func (_self *MergeCoins) Ne(other *MergeCoins) bool