Callable.callee_functions_recursive()
Returns a Functions object representing the functions through which the function could be called
Query Example
from glider import *
def query():
functions = Functions().with_name("requestRandomness").exec(1)
return functions[0].callee_functions_recursive().exec()function requestRandomness(bytes32 _keyHash,uint256 _fee,uint256 _seed)
public returns (bytes32 requestId)
{
LINK.transferAndCall(vrfCoordinator,_fee,abi.encode(_keyHash,_seed));
uint256 vRFSeed = makeVRFInputSeed(_keyHash,_seed,address(this),nonces[_keyHash]);
nonces[_keyHash] = nonces[_keyHash].add(1);
return makeRequestId(_keyHash,vRFSeed);
}Example Output

Last updated