forked from Certora/ethGatheringBarcelona_worksop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherc20.spec
12 lines (12 loc) · 749 Bytes
/
erc20.spec
1
2
3
4
5
6
7
8
9
10
11
12
// erc20 methods
methods {
name() returns (string) => DISPATCHER(true)
symbol() returns (string) => DISPATCHER(true)
decimals() returns (string) => DISPATCHER(true)
totalSupply() returns (uint256) => DISPATCHER(true)
balanceOf(address) returns (uint256) => DISPATCHER(true)
allowance(address,address) returns (uint) => DISPATCHER(true)
approve(address,uint256) returns (bool) => DISPATCHER(true)
transfer(address,uint256) returns (bool) => DISPATCHER(true)
transferFrom(address,address,uint256) returns (bool) => DISPATCHER(true)
}