UNPKG
@lumina-dex/contracts
Version:
latest (0.10.0)
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Contracts for Lumina DEX.
github.com/Lumina-DEX/lumina
Lumina-DEX/lumina
@lumina-dex/contracts
/
tests
/
FarmUpgradeTest.ts
10 lines
(8 loc)
•
257 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ method,
SmartContract
,
UInt64
}
from
"o1js"
export
class
FarmUpgradeTest
extends
SmartContract
{
@method
.
returns
(
UInt64
)
async
version
(
) {
this
.
account
.
balance
.
requireBetween
(
UInt64
.
zero
,
UInt64
.
MAXINT
())
return
UInt64
.
from
(
112
) } }