Documentation
¶
Index ¶
- Variables
- func FtChargeCommission(ctx context.Context, cli nearclient2.Client, ...) (string, string)
- func FtDeposit(ctx context.Context, cli nearclient2.Client, sender, receiver, token string, ...) (string, string)
- func FtWithdraw(ctx context.Context, cli nearclient2.Client, ...) string
- func GenKey() ([]byte, []byte)
- func GetDepositedReceiptID(tx common.FinalExecutionOutcomeView, eventType common.LogEventType, ...) (*common.Hash, error)
- func ManageFeeToken(ctx context.Context, operationType common.FeeManageOperationType, ...) string
- func NativeChargeCommission(ctx context.Context, cli nearclient2.Client, ...) (string, string)
- func NativeDeposit(ctx context.Context, cli nearclient2.Client, ...) (string, string)
- func NativeWithdraw(ctx context.Context, cli nearclient2.Client, txHash, eventID string, ...) string
- func NftChargeCommission(ctx context.Context, cli nearclient2.Client, ...) (string, string)
- func NftDeposit(ctx context.Context, cli nearclient2.Client, ...) (string, string)
- func NftWithdraw(ctx context.Context, cli nearclient2.Client, ...) string
- func RawFTWithdraw(ctx context.Context, cli *nearclient2.Client, ...) string
- func RawNFTWithdraw(ctx context.Context, cli *nearclient2.Client, ...) string
- func RawNativeWithdraw(ctx context.Context, cli *nearclient2.Client, ...) string
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxGas uint64 = 300000000000000
View Source
var (
ReceiptNotFoundError = errors.New("receipt not found")
)
Functions ¶
func FtChargeCommission ¶
func FtWithdraw ¶
func GetDepositedReceiptID ¶
func ManageFeeToken ¶
func ManageFeeToken(ctx context.Context, operationType common.FeeManageOperationType, cli nearclient2.Client, sender, receiver, bridgeAddr, privateKey string, token common.FeeToken) string
func NativeChargeCommission ¶
func NativeDeposit ¶
func NativeWithdraw ¶
func NftChargeCommission ¶
func NftDeposit ¶
func NftWithdraw ¶
func RawFTWithdraw ¶
func RawNFTWithdraw ¶
func RawNativeWithdraw ¶
Types ¶
This section is empty.
Source Files
¶
- constants.go
- ft_charge_commission.go
- ft_deposit.go
- ft_withdraw.go
- gen_signer.go
- manage_fee_token.go
- native_charge_commission.go
- native_deposit.go
- native_withdraw.go
- nft_charge_commission.go
- nft_deposit.go
- nft_withdraw.go
- raw_withdraw.ts.go
- util_content.go
- util_fee_manage_op.go
- util_get_receipt_id.go
Click to show internal directories.
Click to hide internal directories.