The address to make rate calls to.
address public immutable target;
The selector to call on the target.
bytes4 public immutable selector;
Static arguments to pass to the target.
bytes32 public immutable staticArgument0;
bytes32 public immutable staticArgument1;
bytes32 public immutable staticArgument2;
bytes32 public immutable staticArgument3;
bytes32 public immutable staticArgument4;
bytes32 public immutable staticArgument5;
bytes32 public immutable staticArgument6;
bytes32 public immutable staticArgument7;
constructor(
address _target,
bytes4 _selctor,
bytes32 _staticArgument0,
bytes32 _staticArgument1,
bytes32 _staticArgument2,
bytes32 _staticArgument3,
bytes32 _staticArgument4,
bytes32 _staticArgument5,
bytes32 _staticArgument6,
bytes32 _staticArgument7
);
Get the rate of some generic asset.
function getRate() public view returns (uint256);