← Back to Realms

Realm

gno.land/r/gnoswap/common

Overview

Realm Path
gno.land/r/gnoswap/common
Exported Functions
17
State Entries
6
Source Files
8
Total Package Entries
27

Exported Functions

17 exported functions

State

6 state entries

Source Code

FILES
assert.gno
go
1package common
2
3// AssertIsNotHandleNativeCoin validates that no native coins were sent with the transaction.
4//
5// Use this when a function should only work with GRC20 tokens and not accept native coins.
6func AssertIsNotHandleNativeCoin() {
7	if err := getImplementation().ValidateNotHandleNativeCoin(); err != nil {
8		panic(err)
9	}
10}
11

Raw Package Data

Raw JSON data