Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //go:embed ERC20BaseTokens.abi ERC20BaseTokensABI string ERC20BaseTokensRuntimeBytecode = common.FromHex(strings.TrimSpace(erc20BaseRuntimeBytecodeHex)) )
View Source
var ( //go:embed ISC.abi ABI string )
View Source
var ERC20BaseTokensAddress = iscAddressPlusOne()
View Source
var ( //go:embed ISCPrivileged.abi PrivilegedABI string )
Functions ¶
This section is empty.
Types ¶
type ISCAgentID ¶
type ISCAgentID struct {
Data []byte
}
ISCAgentID matches the struct definition in ISC.sol
func WrapISCAgentID ¶
func WrapISCAgentID(a isc.AgentID) ISCAgentID
func (ISCAgentID) MustUnwrap ¶
func (a ISCAgentID) MustUnwrap() isc.AgentID
type ISCAllowance ¶
type ISCAllowance struct { BaseTokens uint64 Tokens []NativeToken Nfts []NFTID }
ISCAllowance matches the struct definition in ISC.sol
func WrapISCAllowance ¶
func WrapISCAllowance(a *isc.Allowance) ISCAllowance
func (ISCAllowance) Unwrap ¶
func (a ISCAllowance) Unwrap() *isc.Allowance
type ISCChainID ¶
type ISCChainID [isc.ChainIDLength]byte
ISCChainID matches the type definition in ISC.sol
func WrapISCChainID ¶
func WrapISCChainID(c *isc.ChainID) (ret ISCChainID)
func (ISCChainID) MustUnwrap ¶
func (c ISCChainID) MustUnwrap() *isc.ChainID
type ISCDict ¶
type ISCDict struct {
Items []ISCDictItem
}
ISCDict matches the struct definition in ISC.sol
func WrapISCDict ¶
type ISCDictItem ¶
ISCDictItem matches the struct definition in ISC.sol
type ISCExpiration ¶
func WrapISCExpiration ¶
func WrapISCExpiration(data *isc.Expiration) ISCExpiration
func (*ISCExpiration) Unwrap ¶
func (i *ISCExpiration) Unwrap() *isc.Expiration
type ISCFungibleTokens ¶
type ISCFungibleTokens struct { BaseTokens uint64 Tokens []NativeToken }
func WrapISCFungibleTokens ¶
func WrapISCFungibleTokens(fungibleTokens isc.FungibleTokens) ISCFungibleTokens
func (ISCFungibleTokens) Unwrap ¶
func (t ISCFungibleTokens) Unwrap() *isc.FungibleTokens
type ISCNFT ¶
ISCNFT matches the struct definition in ISC.sol
func WrapISCNFT ¶
func (ISCNFT) MustUnwrap ¶
type ISCSendMetadata ¶
type ISCSendMetadata struct { TargetContract uint32 Entrypoint uint32 Params ISCDict Allowance ISCAllowance GasBudget uint64 }
func WrapISCSendMetadata ¶
func WrapISCSendMetadata(metadata isc.SendMetadata) ISCSendMetadata
func (ISCSendMetadata) Unwrap ¶
func (i ISCSendMetadata) Unwrap() *isc.SendMetadata
type ISCSendOptions ¶
type ISCSendOptions struct { Timelock int64 Expiration ISCExpiration }
func WrapISCSendOptions ¶
func WrapISCSendOptions(options isc.SendOptions) ISCSendOptions
func (*ISCSendOptions) Unwrap ¶
func (i *ISCSendOptions) Unwrap() isc.SendOptions
type ISCTokenProperties ¶ added in v0.3.4
type L1Address ¶
type L1Address struct {
Data []byte
}
L1Address matches the struct definition in ISC.sol
func WrapL1Address ¶
func (L1Address) MustUnwrap ¶
type NativeToken ¶
type NativeToken struct { ID NativeTokenID Amount *big.Int }
NativeToken matches the struct definition in ISC.sol
func WrapNativeToken ¶
func WrapNativeToken(nt *iotago.NativeToken) NativeToken
func (NativeToken) Unwrap ¶
func (nt NativeToken) Unwrap() *iotago.NativeToken
type NativeTokenID ¶
type NativeTokenID struct {
Data []byte
}
NativeTokenID matches the struct definition in ISC.sol
func WrapNativeTokenID ¶
func WrapNativeTokenID(id *iotago.NativeTokenID) NativeTokenID
func (NativeTokenID) Unwrap ¶
func (a NativeTokenID) Unwrap() (ret iotago.NativeTokenID)
Click to show internal directories.
Click to hide internal directories.