Versions in this module Expand all Collapse all v0 v0.0.1 May 4, 2024 Changes in this version + const ErrIncorrectMultiSwap + const ErrIncorrectMultiSwapKey + const MultiSwapCompositeType + const MultiSwapKeyEvent + func Answer(stub *cachestub.BatchCacheStub, swap *proto.MultiSwap, robotSideTimeout int64) (r *proto.SwapResponse) + func Delete(stub shim.ChaincodeStubInterface, swapID string) error + func Load(stub shim.ChaincodeStubInterface, swapID string) (*proto.MultiSwap, error) + func RobotDone(stub *cachestub.BatchCacheStub, swapID []byte, key string) (r *proto.SwapResponse) + func Save(stub shim.ChaincodeStubInterface, swapID string, swap *proto.MultiSwap) error + func UserDone(bc BaseContractInterface, swapID string, key string) peer.Response + type BaseContractInterface interface + AllowedIndustrialBalanceAdd func(address *types.Address, industrialAssets []*proto.Asset, reason string) error + GetStub func() shim.ChaincodeStubInterface + TokenBalanceAddWithTicker func(address *types.Address, amount *big.Int, ticker string, reason string) error