Learn Fi
Quick Functions
Editor
Github
Examples
Search…
Introduction
Overview
Contract Definitions
Basic Types
Complex Types
Control Structures
Local Variables
Functions
Type Casting
Variable Modifiers
Global Constants
Examples
Powered By
GitBook
Global Constants
The following global constants can be used throughout your smart contract.
AMOUNT - returns
tez
, amount of the current transaction
BALANCE - returns
tez
, amount held by the current contract
NOW - returns
timestamp
, current date time
STEPS - returns
nat
, number of steps until end of script execution
SELF - returns
contract
, pointer to current contract
SOURCE - returns
address
, the address of the original contract source
SENDER - returns
address
, the address of the current transaction source
OWNER - returns
address
, the address of the current contract
Overview - Previous
Variable Modifiers
Next - Overview
Examples
Last modified
3yr ago
Copy link