PredicateHelper
Last updated
Last updated
A helper contract for executing boolean functions on arbitrary target call results
Calls every target with corresponding data
Parameters:
targets
address[]
data
bytes[]
Return Values:
Result
bool
True if call to any target returned True. Otherwise, false
Calls every target with corresponding data
targets
address[]
data
bytes[]
Result
bool
True if calls to all targets returned True. Otherwise, false
Calls target with specified data and tests if it's equal to the value
value
uint256
Value to test
target
address
data
bytes
Result
bool
True if call to target returns the same value as value
. Otherwise, false
Calls target with specified data and tests if it's lower than value
value
uint256
Value to test
target
address
data
bytes
Result
bool
True if call to target returns value which is lower than value
. Otherwise, false
Calls target with specified data and tests if it's bigger than value
value
uint256
Value to test
target
address
data
bytes
Result
bool
True if call to target returns value which is bigger than value
. Otherwise, false
Checks passed time against block timestamp
time
uint256
Result
bool
True if current block timestamp is lower than time
. Otherwise, false
Parameters:
Return Values:
Parameters:
Return Values:
Parameters:
Return Values:
Parameters:
Return Values:
Parameters:
Return Values: