diff --git a/src/rewards/FuseFlywheelDynamicRewardsPlugin.sol b/src/rewards/FuseFlywheelDynamicRewardsPlugin.sol index fed733f..c98c300 100644 --- a/src/rewards/FuseFlywheelDynamicRewardsPlugin.sol +++ b/src/rewards/FuseFlywheelDynamicRewardsPlugin.sol @@ -41,4 +41,4 @@ contract FuseFlywheelDynamicRewardsPlugin is FlywheelDynamicRewards { } return uint192(rewardAmount); } -} \ No newline at end of file +} diff --git a/src/rewards/FuseFlywheelRewardsPlugin.sol b/src/rewards/FuseFlywheelRewardsPlugin.sol index 3e46e74..66abe3b 100644 --- a/src/rewards/FuseFlywheelRewardsPlugin.sol +++ b/src/rewards/FuseFlywheelRewardsPlugin.sol @@ -14,12 +14,12 @@ interface IERC4626 { function claimRewards() external; } -/** +/** @title Fuse Flywheel Plugin Reward Stream @notice Determines rewards based on how many reward tokens appeared in the market itself since last accrual. All rewards are claimed atomically, so there is no need to use the last reward timestamp. */ -contract FuseFlywheelDynamicRewards is IFlywheelRewards { +contract FuseFlywheelRewardsPlugin is IFlywheelRewards { using SafeTransferLib for ERC20; event Log(string message); diff --git a/src/test/integration/pools/FusePool156test.t.sol b/src/test/integration/pools/FusePool156test.t.sol index caa9c6f..3daeab0 100644 --- a/src/test/integration/pools/FusePool156test.t.sol +++ b/src/test/integration/pools/FusePool156test.t.sol @@ -15,23 +15,27 @@ import "../../interfaces/IPlugin.sol"; contract FusePool156Test is DSTestPlus, Test { FuseAdmin fuseAdmin = FuseAdmin(0xa731585ab05fC9f83555cf9Bff8F58ee94e18F85); - + // pool 156 comptroller - Comptroller comptroller = Comptroller(0x07cd53380FE9B2a5E64099591b498c73F0EfaA66); + Comptroller comptroller = + Comptroller(0x07cd53380FE9B2a5E64099591b498c73F0EfaA66); address multisig = 0x5eA4A9a7592683bF0Bc187d6Da706c6c4770976F; address user = 0xB290f2F3FAd4E540D0550985951Cdad2711ac34A; address cvxcrvCRV = 0x9D0464996170c6B9e75eED71c68B99dDEDf279e8; address cvxFXSFXS = 0xF3A43307DcAFa93275993862Aae628fCB50dC768; address rethstethCRV = 0x447Ddd4960d9fdBF6af9a790560d0AF76795CB08; - + ERC20 cvx = ERC20(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B); ERC20 crv = ERC20(0xD533a949740bb3306d119CC777fa900bA034cd52); ERC20 fxs = ERC20(0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0); - FlywheelCore cvxFlywheelCore = FlywheelCore(0x18B9aE8499e560bF94Ef581420c38EC4CfF8559C); - FlywheelCore crvFlywheelCore = FlywheelCore(0x65DFbde18D7f12a680480aBf6e17F345d8637829); - FlywheelCore fxsFlywheelCore = FlywheelCore(0x30E9A1Bc6A6a478fC32F9ac900C6530Ad3A1616F); + FlywheelCore cvxFlywheelCore = + FlywheelCore(0x18B9aE8499e560bF94Ef581420c38EC4CfF8559C); + FlywheelCore crvFlywheelCore = + FlywheelCore(0x65DFbde18D7f12a680480aBf6e17F345d8637829); + FlywheelCore fxsFlywheelCore = + FlywheelCore(0x30E9A1Bc6A6a478fC32F9ac900C6530Ad3A1616F); function setUp() public { hevm.label(address(fuseAdmin), "fuseAdmin"); @@ -51,30 +55,41 @@ contract FusePool156Test is DSTestPlus, Test { require(cvxCRVf.mint(100e18) == 0, "mint failed"); tip(rethstethCRV, user, 100e18); - CErc20 rethstethCRVf = CErc20(0xD88B2E6304d1827e22D2ACC2FbCeD836cd439b85); + CErc20 rethstethCRVf = CErc20( + 0xD88B2E6304d1827e22D2ACC2FbCeD836cd439b85 + ); require(rethstethCRVf.mint(100e18) == 0, "mint failed"); // cvxFXSFXSf - uint accrue = cvxFlywheelCore.accrue(ERC20(address(cvxFXSf)), user); + uint256 accrue = cvxFlywheelCore.accrue(ERC20(address(cvxFXSf)), user); require(accrue > 0, "cvxFlywheel accrue"); - uint accrued = cvxFlywheelCore.rewardsAccrued(user); - uint prebalance = cvx.balanceOf(user); + uint256 accrued = cvxFlywheelCore.rewardsAccrued(user); + uint256 prebalance = cvx.balanceOf(user); cvxFlywheelCore.claimRewards(user); - require(cvx.balanceOf(user) == prebalance + accrued, "cvxFlywheel claimRewards"); + require( + cvx.balanceOf(user) == prebalance + accrued, + "cvxFlywheel claimRewards" + ); accrue = crvFlywheelCore.accrue(ERC20(address(cvxFXSf)), user); require(accrue > 0, "crvFlywheel accrue"); accrued = crvFlywheelCore.rewardsAccrued(user); prebalance = crv.balanceOf(user); crvFlywheelCore.claimRewards(user); - require(crv.balanceOf(user) == prebalance + accrued, "crvFlywheel claimRewards"); + require( + crv.balanceOf(user) == prebalance + accrued, + "crvFlywheel claimRewards" + ); accrue = fxsFlywheelCore.accrue(ERC20(address(cvxFXSf)), user); require(accrue > 0, "fxsFlywheel accrue"); accrued = fxsFlywheelCore.rewardsAccrued(user); prebalance = fxs.balanceOf(user); fxsFlywheelCore.claimRewards(user); - require(fxs.balanceOf(user) == prebalance + accrued, "fxsFlywheel claimRewards"); + require( + fxs.balanceOf(user) == prebalance + accrued, + "fxsFlywheel claimRewards" + ); // cvxCRVf hevm.warp(block.timestamp + 10); @@ -83,14 +98,20 @@ contract FusePool156Test is DSTestPlus, Test { accrued = cvxFlywheelCore.rewardsAccrued(user); prebalance = cvx.balanceOf(user); cvxFlywheelCore.claimRewards(user); - require(cvx.balanceOf(user) == prebalance + accrued, "cvxFlywheel claimRewards"); + require( + cvx.balanceOf(user) == prebalance + accrued, + "cvxFlywheel claimRewards" + ); accrue = crvFlywheelCore.accrue(ERC20(address(cvxCRVf)), user); require(accrue > 0, "crvFlywheel accrue"); accrued = crvFlywheelCore.rewardsAccrued(user); prebalance = crv.balanceOf(user); crvFlywheelCore.claimRewards(user); - require(crv.balanceOf(user) == prebalance + accrued, "crvFlywheel claimRewards"); + require( + crv.balanceOf(user) == prebalance + accrued, + "crvFlywheel claimRewards" + ); // rethstethCRVf hevm.warp(block.timestamp + 10); @@ -99,17 +120,26 @@ contract FusePool156Test is DSTestPlus, Test { accrued = cvxFlywheelCore.rewardsAccrued(user); prebalance = cvx.balanceOf(user); cvxFlywheelCore.claimRewards(user); - require(cvx.balanceOf(user) == prebalance + accrued, "cvxFlywheel claimRewards"); + require( + cvx.balanceOf(user) == prebalance + accrued, + "cvxFlywheel claimRewards" + ); accrue = crvFlywheelCore.accrue(ERC20(address(rethstethCRVf)), user); require(accrue > 0, "crvFlywheel accrue"); accrued = crvFlywheelCore.rewardsAccrued(user); prebalance = crv.balanceOf(user); crvFlywheelCore.claimRewards(user); - require(crv.balanceOf(user) == prebalance + accrued, "crvFlywheel claimRewards"); + require( + crv.balanceOf(user) == prebalance + accrued, + "crvFlywheel claimRewards" + ); require(cvxFXSf.redeem(cvxFXSf.balanceOf(user)) == 0, "cvxFXS redeem"); require(cvxCRVf.redeem(cvxCRVf.balanceOf(user)) == 0, "cvxCRV redeem"); - require(rethstethCRVf.redeem(rethstethCRVf.balanceOf(user)) == 0, "rethstethCRV redeem"); + require( + rethstethCRVf.redeem(rethstethCRVf.balanceOf(user)) == 0, + "rethstethCRV redeem" + ); } -} \ No newline at end of file +} diff --git a/src/test/integration/pools/FusePool190test.t.sol b/src/test/integration/pools/FusePool190test.t.sol index f3159a9..0a6db83 100644 --- a/src/test/integration/pools/FusePool190test.t.sol +++ b/src/test/integration/pools/FusePool190test.t.sol @@ -21,11 +21,14 @@ contract Pool190Test is DSTestPlus, Test { function setUp() public {} function testPool190() public { - - FuseAdmin fuseAdmin = FuseAdmin(0xa731585ab05fC9f83555cf9Bff8F58ee94e18F85); + FuseAdmin fuseAdmin = FuseAdmin( + 0xa731585ab05fC9f83555cf9Bff8F58ee94e18F85 + ); hevm.label(address(fuseAdmin), "fuseAdmin"); // pool 190 comptroller - Comptroller comptroller = Comptroller(0x4Ba827A642F99773dB5CD39689B410f4646f56E3); + Comptroller comptroller = Comptroller( + 0x4Ba827A642F99773dB5CD39689B410f4646f56E3 + ); hevm.label(address(comptroller), "comptroller"); address multisig = 0x5eA4A9a7592683bF0Bc187d6Da706c6c4770976F; hevm.label(multisig, "multisig"); @@ -34,8 +37,12 @@ contract Pool190Test is DSTestPlus, Test { address tAlcx = 0xD3B5D9a561c293Fb42b446FE7e237DaA9BF9AA84; address alcxeth = 0xC3f279090a47e80990Fe3a9c30d24Cb117EF91a8; - FlywheelCore alcxFlywheelCore = FlywheelCore(0x48635Dd90B1d15F3bC60280C36Fb1c7b95108853); - FlywheelCore sushiFlywheelCore = FlywheelCore(0xC78C326Ae403002eC4b328F5314763953fa06e0F); + FlywheelCore alcxFlywheelCore = FlywheelCore( + 0x48635Dd90B1d15F3bC60280C36Fb1c7b95108853 + ); + FlywheelCore sushiFlywheelCore = FlywheelCore( + 0xC78C326Ae403002eC4b328F5314763953fa06e0F + ); hevm.startPrank(user); @@ -46,12 +53,18 @@ contract Pool190Test is DSTestPlus, Test { hevm.warp(block.timestamp + 100); // alEthLpf - uint accrue = alcxFlywheelCore.accrue(ERC20(address(alEthLpf)), user); + uint256 accrue = alcxFlywheelCore.accrue( + ERC20(address(alEthLpf)), + user + ); require(accrue > 0, "alcxFlywheelCore accrue1"); - uint accrued = alcxFlywheelCore.rewardsAccrued(user); - uint prebalance = alcx.balanceOf(user); + uint256 accrued = alcxFlywheelCore.rewardsAccrued(user); + uint256 prebalance = alcx.balanceOf(user); alcxFlywheelCore.claimRewards(user); - require(alcx.balanceOf(user) == prebalance + accrued, "alcxFlywheelCore claimRewards"); + require( + alcx.balanceOf(user) == prebalance + accrued, + "alcxFlywheelCore claimRewards" + ); hevm.warp(block.timestamp + 10); @@ -65,7 +78,10 @@ contract Pool190Test is DSTestPlus, Test { accrued = alcxFlywheelCore.rewardsAccrued(user); prebalance = alcx.balanceOf(user); alcxFlywheelCore.claimRewards(user); - require(alcx.balanceOf(user) == prebalance + accrued, "alcxFlywheelCore claimRewards"); + require( + alcx.balanceOf(user) == prebalance + accrued, + "alcxFlywheelCore claimRewards" + ); tip(alcxeth, user, 100e18); CErc20 alcxethf = CErc20(0x2C671c44E205147792fb33Ee889fE112e3e34579); @@ -77,17 +93,29 @@ contract Pool190Test is DSTestPlus, Test { accrued = alcxFlywheelCore.rewardsAccrued(user); prebalance = alcx.balanceOf(user); alcxFlywheelCore.claimRewards(user); - require(alcx.balanceOf(user) == prebalance + accrued, "alcxFlywheelCore claimRewards"); + require( + alcx.balanceOf(user) == prebalance + accrued, + "alcxFlywheelCore claimRewards" + ); accrue = sushiFlywheelCore.accrue(ERC20(address(alcxethf)), user); require(accrue > 0, "sushiFlywheelCore"); accrued = sushiFlywheelCore.rewardsAccrued(user); prebalance = sushi.balanceOf(user); sushiFlywheelCore.claimRewards(user); - require(sushi.balanceOf(user) == prebalance + accrued, "sushiFlywheelCore claimRewards"); - - require(alEthLpf.redeem(alEthLpf.balanceOf(user)) == 0, "alEthlpf redeem"); + require( + sushi.balanceOf(user) == prebalance + accrued, + "sushiFlywheelCore claimRewards" + ); + + require( + alEthLpf.redeem(alEthLpf.balanceOf(user)) == 0, + "alEthlpf redeem" + ); require(tAlcxf.redeem(tAlcxf.balanceOf(user)) == 0, "tAlcxf redeem"); - require(alcxethf.redeem(alcxethf.balanceOf(user)) == 0, "alcxethf redeem"); + require( + alcxethf.redeem(alcxethf.balanceOf(user)) == 0, + "alcxethf redeem" + ); } } diff --git a/src/test/interfaces/ICErc20.sol b/src/test/interfaces/ICErc20.sol index 0e2d123..5e0776d 100644 --- a/src/test/interfaces/ICErc20.sol +++ b/src/test/interfaces/ICErc20.sol @@ -1,65 +1,185 @@ pragma solidity ^0.8.0; interface CErc20 { - function PRECISION ( ) external view returns ( uint256 ); - function _becomeImplementation ( bytes memory data ) external; - function _delegateCompLikeTo ( address compLikeDelegatee ) external; - function _prepare ( ) external payable; - function _reduceReserves ( uint256 reduceAmount ) external returns ( uint256 ); - function _setAdminFee ( uint256 newAdminFeeMantissa ) external returns ( uint256 ); - function _setImplementationSafe ( address implementation_, bool allowResign, bytes memory becomeImplementationData ) external; - function _setInterestRateModel ( address newInterestRateModel ) external returns ( uint256 ); - function _setNameAndSymbol ( string memory _name, string memory _symbol ) external; - function _setReserveFactor ( uint256 newReserveFactorMantissa ) external returns ( uint256 ); - function _withdrawAdminFees ( uint256 withdrawAmount ) external returns ( uint256 ); - function _withdrawFuseFees ( uint256 withdrawAmount ) external returns ( uint256 ); - function accrualBlockNumber ( ) external view returns ( uint256 ); - function accrueInterest ( ) external returns ( uint256 ); - function adminFeeMantissa ( ) external view returns ( uint256 ); - function allowance ( address owner, address spender ) external view returns ( uint256 ); - function approve ( address spender, uint256 amount ) external returns ( bool ); - function approve ( address _token, address _spender ) external; - function balanceOf ( address owner ) external view returns ( uint256 ); - function balanceOfUnderlying ( address owner ) external returns ( uint256 ); - function borrow ( uint256 borrowAmount ) external returns ( uint256 ); - function borrowBalanceCurrent ( address account ) external returns ( uint256 ); - function borrowBalanceStored ( address account ) external view returns ( uint256 ); - function borrowIndex ( ) external view returns ( uint256 ); - function borrowRatePerBlock ( ) external view returns ( uint256 ); - function claim ( ) external; - function comptroller ( ) external view returns ( address ); - function decimals ( ) external view returns ( uint8 ); - function exchangeRateCurrent ( ) external returns ( uint256 ); - function exchangeRateStored ( ) external view returns ( uint256 ); - function fuseFeeMantissa ( ) external view returns ( uint256 ); - function getAccountSnapshot ( address account ) external view returns ( uint256, uint256, uint256, uint256 ); - function getCash ( ) external view returns ( uint256 ); - function implementation ( ) external view returns ( address ); - function initialize ( address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string memory name_, string memory symbol_, uint8 decimals_, uint256 reserveFactorMantissa_, uint256 adminFeeMantissa_ ) external; - function initialize ( address underlying_, address comptroller_, address interestRateModel_, string memory name_, string memory symbol_, uint256 reserveFactorMantissa_, uint256 adminFeeMantissa_ ) external; - function interestRateModel ( ) external view returns ( address ); - function isCEther ( ) external view returns ( bool ); - function isCToken ( ) external view returns ( bool ); - function liquidateBorrow ( address borrower, uint256 repayAmount, address cTokenCollateral ) external returns ( uint256 ); - function mint ( uint256 mintAmount ) external returns ( uint256 ); - function name ( ) external view returns ( string memory); - function plugin ( ) external view returns ( address ); - function protocolSeizeShareMantissa ( ) external view returns ( uint256 ); - function redeem ( uint256 redeemTokens ) external returns ( uint256 ); - function redeemUnderlying ( uint256 redeemAmount ) external returns ( uint256 ); - function repayBorrow ( uint256 repayAmount ) external returns ( uint256 ); - function repayBorrowBehalf ( address borrower, uint256 repayAmount ) external returns ( uint256 ); - function reserveFactorMantissa ( ) external view returns ( uint256 ); - function seize ( address liquidator, address borrower, uint256 seizeTokens ) external returns ( uint256 ); - function supplyRatePerBlock ( ) external view returns ( uint256 ); - function symbol ( ) external view returns ( string memory ); - function totalAdminFees ( ) external view returns ( uint256 ); - function totalBorrows ( ) external view returns ( uint256 ); - function totalBorrowsCurrent ( ) external returns ( uint256 ); - function totalFuseFees ( ) external view returns ( uint256 ); - function totalReserves ( ) external view returns ( uint256 ); - function totalSupply ( ) external view returns ( uint256 ); - function transfer ( address dst, uint256 amount ) external returns ( bool ); - function transferFrom ( address src, address dst, uint256 amount ) external returns ( bool ); - function underlying ( ) external view returns ( address ); + function PRECISION() external view returns (uint256); + + function _becomeImplementation(bytes memory data) external; + + function _delegateCompLikeTo(address compLikeDelegatee) external; + + function _prepare() external payable; + + function _reduceReserves(uint256 reduceAmount) external returns (uint256); + + function _setAdminFee(uint256 newAdminFeeMantissa) + external + returns (uint256); + + function _setImplementationSafe( + address implementation_, + bool allowResign, + bytes memory becomeImplementationData + ) external; + + function _setInterestRateModel(address newInterestRateModel) + external + returns (uint256); + + function _setNameAndSymbol(string memory _name, string memory _symbol) + external; + + function _setReserveFactor(uint256 newReserveFactorMantissa) + external + returns (uint256); + + function _withdrawAdminFees(uint256 withdrawAmount) + external + returns (uint256); + + function _withdrawFuseFees(uint256 withdrawAmount) + external + returns (uint256); + + function accrualBlockNumber() external view returns (uint256); + + function accrueInterest() external returns (uint256); + + function adminFeeMantissa() external view returns (uint256); + + function allowance(address owner, address spender) + external + view + returns (uint256); + + function approve(address spender, uint256 amount) external returns (bool); + + function approve(address _token, address _spender) external; + + function balanceOf(address owner) external view returns (uint256); + + function balanceOfUnderlying(address owner) external returns (uint256); + + function borrow(uint256 borrowAmount) external returns (uint256); + + function borrowBalanceCurrent(address account) external returns (uint256); + + function borrowBalanceStored(address account) + external + view + returns (uint256); + + function borrowIndex() external view returns (uint256); + + function borrowRatePerBlock() external view returns (uint256); + + function claim() external; + + function comptroller() external view returns (address); + + function decimals() external view returns (uint8); + + function exchangeRateCurrent() external returns (uint256); + + function exchangeRateStored() external view returns (uint256); + + function fuseFeeMantissa() external view returns (uint256); + + function getAccountSnapshot(address account) + external + view + returns ( + uint256, + uint256, + uint256, + uint256 + ); + + function getCash() external view returns (uint256); + + function implementation() external view returns (address); + + function initialize( + address comptroller_, + address interestRateModel_, + uint256 initialExchangeRateMantissa_, + string memory name_, + string memory symbol_, + uint8 decimals_, + uint256 reserveFactorMantissa_, + uint256 adminFeeMantissa_ + ) external; + + function initialize( + address underlying_, + address comptroller_, + address interestRateModel_, + string memory name_, + string memory symbol_, + uint256 reserveFactorMantissa_, + uint256 adminFeeMantissa_ + ) external; + + function interestRateModel() external view returns (address); + + function isCEther() external view returns (bool); + + function isCToken() external view returns (bool); + + function liquidateBorrow( + address borrower, + uint256 repayAmount, + address cTokenCollateral + ) external returns (uint256); + + function mint(uint256 mintAmount) external returns (uint256); + + function name() external view returns (string memory); + + function plugin() external view returns (address); + + function protocolSeizeShareMantissa() external view returns (uint256); + + function redeem(uint256 redeemTokens) external returns (uint256); + + function redeemUnderlying(uint256 redeemAmount) external returns (uint256); + + function repayBorrow(uint256 repayAmount) external returns (uint256); + + function repayBorrowBehalf(address borrower, uint256 repayAmount) + external + returns (uint256); + + function reserveFactorMantissa() external view returns (uint256); + + function seize( + address liquidator, + address borrower, + uint256 seizeTokens + ) external returns (uint256); + + function supplyRatePerBlock() external view returns (uint256); + + function symbol() external view returns (string memory); + + function totalAdminFees() external view returns (uint256); + + function totalBorrows() external view returns (uint256); + + function totalBorrowsCurrent() external returns (uint256); + + function totalFuseFees() external view returns (uint256); + + function totalReserves() external view returns (uint256); + + function totalSupply() external view returns (uint256); + + function transfer(address dst, uint256 amount) external returns (bool); + + function transferFrom( + address src, + address dst, + uint256 amount + ) external returns (bool); + + function underlying() external view returns (address); } diff --git a/src/test/interfaces/IComptroller.sol b/src/test/interfaces/IComptroller.sol index cf2a140..fd4afb8 100644 --- a/src/test/interfaces/IComptroller.sol +++ b/src/test/interfaces/IComptroller.sol @@ -1,85 +1,306 @@ pragma solidity ^0.8.0; interface Comptroller { - function _addRewardsDistributor ( address distributor ) external returns ( uint256 ); - function _afterNonReentrant ( ) external; - function _become ( address unitroller ) external; - function _becomeImplementation ( ) external; - function _beforeNonReentrant ( ) external; - function _borrowGuardianPaused ( ) external view returns ( bool ); - function _deployMarket ( bool isCEther, bytes memory constructorData, uint256 collateralFactorMantissa ) external returns ( uint256 ); - function _mintGuardianPaused ( ) external view returns ( bool ); - function _setBorrowCapGuardian ( address newBorrowCapGuardian ) external; - function _setBorrowPaused ( address cToken, bool state ) external returns ( bool ); - function _setCloseFactor ( uint256 newCloseFactorMantissa ) external returns ( uint256 ); - function _setCollateralFactor ( address cToken, uint256 newCollateralFactorMantissa ) external returns ( uint256 ); - function _setLiquidationIncentive ( uint256 newLiquidationIncentiveMantissa ) external returns ( uint256 ); - function _setMarketBorrowCaps ( address[] memory cTokens, uint256[] memory newBorrowCaps) external; - function _setMarketSupplyCaps ( address[] memory cTokens, uint256[] memory newSupplyCaps ) external; - function _setMintPaused ( address cToken, bool state ) external returns ( bool ); - function _setPauseGuardian ( address newPauseGuardian ) external returns ( uint256 ); - function _setPriceOracle ( address newOracle ) external returns ( uint256 ); - function _setSeizePaused ( bool state ) external returns ( bool ); - function _setTransferPaused ( bool state ) external returns ( bool ); - function _setWhitelistEnforcement ( bool enforce ) external returns ( uint256 ); - function _setWhitelistStatuses ( address[] memory suppliers, bool[] memory statuses ) external returns ( uint256 ); - function _toggleAutoImplementations ( bool enabled ) external returns ( uint256 ); - function _unsupportMarket ( address cToken ) external returns ( uint256 ); - function accountAssets ( address, uint256 ) external view returns ( address ); - function admin ( ) external view returns ( address ); - function adminHasRights ( ) external view returns ( bool ); - function allBorrowers ( uint256 ) external view returns ( address ); - function allMarkets ( uint256 ) external view returns ( address ); - function autoImplementation ( ) external view returns ( bool ); - function borrowAllowed ( address cToken, address borrower, uint256 borrowAmount ) external returns ( uint256 ); - function borrowCapGuardian ( ) external view returns ( address ); - function borrowCaps ( address ) external view returns ( uint256 ); - function borrowGuardianPaused ( address ) external view returns ( bool ); - function borrowVerify ( address cToken, address borrower, uint256 borrowAmount ) external; - function borrowWithinLimits ( address cToken, uint256 accountBorrowsNew ) external returns ( uint256 ); - function cTokensByUnderlying ( address ) external view returns ( address ); - function checkMembership ( address account, address cToken ) external view returns ( bool ); - function closeFactorMantissa ( ) external view returns ( uint256 ); - function comptrollerImplementation ( ) external view returns ( address ); - function enforceWhitelist ( ) external view returns ( bool ); - function enterMarkets ( address[] memory cTokens ) external returns ( uint256[] memory ); - function exitMarket ( address cTokenAddress ) external returns ( uint256 ); - function fuseAdminHasRights ( ) external view returns ( bool ); - function getAccountLiquidity ( address account ) external view returns ( uint256, uint256, uint256 ); - function getAllBorrowers ( ) external view returns ( address[] memory); - function getAllMarkets ( ) external view returns ( address[] memory); - function getAssetsIn ( address account ) external view returns ( address[] memory); - function getHypotheticalAccountLiquidity ( address account, address cTokenModify, uint256 redeemTokens, uint256 borrowAmount ) external view returns ( uint256, uint256, uint256 ); - function getRewardsDistributors ( ) external view returns ( address[] memory); - function getWhitelist ( ) external view returns ( address[] memory); - function isComptroller ( ) external view returns ( bool ); - function isDeprecated ( address cToken ) external view returns ( bool ); - function liquidateBorrowAllowed ( address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 repayAmount ) external returns ( uint256 ); - function liquidateBorrowVerify ( address cTokenBorrowed, address cTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens ) external; - function liquidateCalculateSeizeTokens ( address cTokenBorrowed, address cTokenCollateral, uint256 actualRepayAmount ) external view returns ( uint256, uint256 ); - function liquidationIncentiveMantissa ( ) external view returns ( uint256 ); - function markets ( address ) external view returns ( bool isListed, uint256 collateralFactorMantissa ); - function mintAllowed ( address cToken, address minter, uint256 mintAmount ) external returns ( uint256 ); - function mintGuardianPaused ( address ) external view returns ( bool ); - function mintVerify ( address cToken, address minter, uint256 actualMintAmount, uint256 mintTokens ) external; - function mintWithinLimits ( address cToken, uint256 exchangeRateMantissa, uint256 accountTokens, uint256 mintAmount ) external returns ( uint256 ); - function oracle ( ) external view returns ( address ); - function pauseGuardian ( ) external view returns ( address ); - function pendingAdmin ( ) external view returns ( address ); - function pendingComptrollerImplementation ( ) external view returns ( address ); - function redeemAllowed ( address cToken, address redeemer, uint256 redeemTokens ) external returns ( uint256 ); - function redeemVerify ( address cToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens ) external; - function repayBorrowAllowed ( address cToken, address payer, address borrower, uint256 repayAmount ) external returns ( uint256 ); - function repayBorrowVerify ( address cToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex ) external; - function rewardsDistributors ( uint256 ) external view returns ( address ); - function seizeAllowed ( address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens ) external returns ( uint256 ); - function seizeGuardianPaused ( ) external view returns ( bool ); - function seizeVerify ( address cTokenCollateral, address cTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens ) external; - function suppliers ( address ) external view returns ( bool ); - function supplyCaps ( address ) external view returns ( uint256 ); - function transferAllowed ( address cToken, address src, address dst, uint256 transferTokens ) external returns ( uint256 ); - function transferGuardianPaused ( ) external view returns ( bool ); - function transferVerify ( address cToken, address src, address dst, uint256 transferTokens ) external; - function whitelist ( address ) external view returns ( bool ); - function whitelistArray ( uint256 ) external view returns ( address ); + function _addRewardsDistributor(address distributor) + external + returns (uint256); + + function _afterNonReentrant() external; + + function _become(address unitroller) external; + + function _becomeImplementation() external; + + function _beforeNonReentrant() external; + + function _borrowGuardianPaused() external view returns (bool); + + function _deployMarket( + bool isCEther, + bytes memory constructorData, + uint256 collateralFactorMantissa + ) external returns (uint256); + + function _mintGuardianPaused() external view returns (bool); + + function _setBorrowCapGuardian(address newBorrowCapGuardian) external; + + function _setBorrowPaused(address cToken, bool state) + external + returns (bool); + + function _setCloseFactor(uint256 newCloseFactorMantissa) + external + returns (uint256); + + function _setCollateralFactor( + address cToken, + uint256 newCollateralFactorMantissa + ) external returns (uint256); + + function _setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) + external + returns (uint256); + + function _setMarketBorrowCaps( + address[] memory cTokens, + uint256[] memory newBorrowCaps + ) external; + + function _setMarketSupplyCaps( + address[] memory cTokens, + uint256[] memory newSupplyCaps + ) external; + + function _setMintPaused(address cToken, bool state) external returns (bool); + + function _setPauseGuardian(address newPauseGuardian) + external + returns (uint256); + + function _setPriceOracle(address newOracle) external returns (uint256); + + function _setSeizePaused(bool state) external returns (bool); + + function _setTransferPaused(bool state) external returns (bool); + + function _setWhitelistEnforcement(bool enforce) external returns (uint256); + + function _setWhitelistStatuses( + address[] memory suppliers, + bool[] memory statuses + ) external returns (uint256); + + function _toggleAutoImplementations(bool enabled) + external + returns (uint256); + + function _unsupportMarket(address cToken) external returns (uint256); + + function accountAssets(address, uint256) external view returns (address); + + function admin() external view returns (address); + + function adminHasRights() external view returns (bool); + + function allBorrowers(uint256) external view returns (address); + + function allMarkets(uint256) external view returns (address); + + function autoImplementation() external view returns (bool); + + function borrowAllowed( + address cToken, + address borrower, + uint256 borrowAmount + ) external returns (uint256); + + function borrowCapGuardian() external view returns (address); + + function borrowCaps(address) external view returns (uint256); + + function borrowGuardianPaused(address) external view returns (bool); + + function borrowVerify( + address cToken, + address borrower, + uint256 borrowAmount + ) external; + + function borrowWithinLimits(address cToken, uint256 accountBorrowsNew) + external + returns (uint256); + + function cTokensByUnderlying(address) external view returns (address); + + function checkMembership(address account, address cToken) + external + view + returns (bool); + + function closeFactorMantissa() external view returns (uint256); + + function comptrollerImplementation() external view returns (address); + + function enforceWhitelist() external view returns (bool); + + function enterMarkets(address[] memory cTokens) + external + returns (uint256[] memory); + + function exitMarket(address cTokenAddress) external returns (uint256); + + function fuseAdminHasRights() external view returns (bool); + + function getAccountLiquidity(address account) + external + view + returns ( + uint256, + uint256, + uint256 + ); + + function getAllBorrowers() external view returns (address[] memory); + + function getAllMarkets() external view returns (address[] memory); + + function getAssetsIn(address account) + external + view + returns (address[] memory); + + function getHypotheticalAccountLiquidity( + address account, + address cTokenModify, + uint256 redeemTokens, + uint256 borrowAmount + ) + external + view + returns ( + uint256, + uint256, + uint256 + ); + + function getRewardsDistributors() external view returns (address[] memory); + + function getWhitelist() external view returns (address[] memory); + + function isComptroller() external view returns (bool); + + function isDeprecated(address cToken) external view returns (bool); + + function liquidateBorrowAllowed( + address cTokenBorrowed, + address cTokenCollateral, + address liquidator, + address borrower, + uint256 repayAmount + ) external returns (uint256); + + function liquidateBorrowVerify( + address cTokenBorrowed, + address cTokenCollateral, + address liquidator, + address borrower, + uint256 actualRepayAmount, + uint256 seizeTokens + ) external; + + function liquidateCalculateSeizeTokens( + address cTokenBorrowed, + address cTokenCollateral, + uint256 actualRepayAmount + ) external view returns (uint256, uint256); + + function liquidationIncentiveMantissa() external view returns (uint256); + + function markets(address) + external + view + returns (bool isListed, uint256 collateralFactorMantissa); + + function mintAllowed( + address cToken, + address minter, + uint256 mintAmount + ) external returns (uint256); + + function mintGuardianPaused(address) external view returns (bool); + + function mintVerify( + address cToken, + address minter, + uint256 actualMintAmount, + uint256 mintTokens + ) external; + + function mintWithinLimits( + address cToken, + uint256 exchangeRateMantissa, + uint256 accountTokens, + uint256 mintAmount + ) external returns (uint256); + + function oracle() external view returns (address); + + function pauseGuardian() external view returns (address); + + function pendingAdmin() external view returns (address); + + function pendingComptrollerImplementation() external view returns (address); + + function redeemAllowed( + address cToken, + address redeemer, + uint256 redeemTokens + ) external returns (uint256); + + function redeemVerify( + address cToken, + address redeemer, + uint256 redeemAmount, + uint256 redeemTokens + ) external; + + function repayBorrowAllowed( + address cToken, + address payer, + address borrower, + uint256 repayAmount + ) external returns (uint256); + + function repayBorrowVerify( + address cToken, + address payer, + address borrower, + uint256 actualRepayAmount, + uint256 borrowerIndex + ) external; + + function rewardsDistributors(uint256) external view returns (address); + + function seizeAllowed( + address cTokenCollateral, + address cTokenBorrowed, + address liquidator, + address borrower, + uint256 seizeTokens + ) external returns (uint256); + + function seizeGuardianPaused() external view returns (bool); + + function seizeVerify( + address cTokenCollateral, + address cTokenBorrowed, + address liquidator, + address borrower, + uint256 seizeTokens + ) external; + + function suppliers(address) external view returns (bool); + + function supplyCaps(address) external view returns (uint256); + + function transferAllowed( + address cToken, + address src, + address dst, + uint256 transferTokens + ) external returns (uint256); + + function transferGuardianPaused() external view returns (bool); + + function transferVerify( + address cToken, + address src, + address dst, + uint256 transferTokens + ) external; + + function whitelist(address) external view returns (bool); + + function whitelistArray(uint256) external view returns (address); } diff --git a/src/test/interfaces/IFuseAdmin.sol b/src/test/interfaces/IFuseAdmin.sol index 56af86f..6b1040c 100644 --- a/src/test/interfaces/IFuseAdmin.sol +++ b/src/test/interfaces/IFuseAdmin.sol @@ -1,36 +1,146 @@ pragma solidity ^0.8.0; interface FuseAdmin { - function _callPool ( address[] memory targets, bytes[] memory data ) external; - function _callPool ( address[] memory targets, bytes memory data ) external; - function _editCErc20DelegateWhitelist ( address[] memory oldImplementations, address[] memory newImplementations, bool[] memory allowResign, bool[] memory statuses ) external; - function _editCEtherDelegateWhitelist ( address[] memory oldImplementations, address[] memory newImplementations, bool[] memory allowResign, bool[] memory statuses ) external; - function _editComptrollerImplementationWhitelist ( address[] memory oldImplementations, address[] memory newImplementations, bool[] memory statuses ) external; - function _latestCErc20Delegate ( address ) external view returns ( address implementation, bool allowResign, bytes memory becomeImplementationData ); - function _latestCEtherDelegate ( address ) external view returns ( address implementation, bool allowResign, bytes memory becomeImplementationData ); - function _setCustomInterestFeeRate ( address comptroller, int256 rate ) external; - function _setDefaultInterestFeeRate ( uint256 _defaultInterestFeeRate ) external; - function _setLatestCErc20Delegate ( address oldImplementation, address newImplementation, bool allowResign, bytes memory becomeImplementationData ) external; - function _setLatestCEtherDelegate ( address oldImplementation, address newImplementation, bool allowResign, bytes memory becomeImplementationData ) external; - function _setLatestComptrollerImplementation ( address oldImplementation, address newImplementation ) external; - function _setPoolLimits ( uint256 _minBorrowEth, uint256 _maxSupplyEth, uint256 _maxUtilizationRate ) external; - function _withdrawAssets ( address erc20Contract ) external; - function cErc20DelegateWhitelist ( address, address, bool ) external view returns ( bool ); - function cEtherDelegateWhitelist ( address, address, bool ) external view returns ( bool ); - function comptrollerImplementationWhitelist ( address, address ) external view returns ( bool ); - function customInterestFeeRates ( address ) external view returns ( int256 ); - function defaultInterestFeeRate ( ) external view returns ( uint256 ); - function deployCErc20 ( bytes memory constructorData ) external returns ( address ); - function deployCEther ( bytes memory constructorData ) external returns ( address ); - function initialize ( uint256 _defaultInterestFeeRate ) external; - function interestFeeRate ( ) external view returns ( uint256 ); - function latestCErc20Delegate ( address oldImplementation ) external view returns ( address, bool, bytes memory ); - function latestCEtherDelegate ( address oldImplementation ) external view returns ( address, bool, bytes memory ); - function latestComptrollerImplementation ( address oldImplementation ) external view returns ( address ); - function maxSupplyEth ( ) external view returns ( uint256 ); - function maxUtilizationRate ( ) external view returns ( uint256 ); - function minBorrowEth ( ) external view returns ( uint256 ); - function owner ( ) external view returns ( address ); - function renounceOwnership ( ) external; - function transferOwnership ( address newOwner ) external; + function _callPool(address[] memory targets, bytes[] memory data) external; + + function _callPool(address[] memory targets, bytes memory data) external; + + function _editCErc20DelegateWhitelist( + address[] memory oldImplementations, + address[] memory newImplementations, + bool[] memory allowResign, + bool[] memory statuses + ) external; + + function _editCEtherDelegateWhitelist( + address[] memory oldImplementations, + address[] memory newImplementations, + bool[] memory allowResign, + bool[] memory statuses + ) external; + + function _editComptrollerImplementationWhitelist( + address[] memory oldImplementations, + address[] memory newImplementations, + bool[] memory statuses + ) external; + + function _latestCErc20Delegate(address) + external + view + returns ( + address implementation, + bool allowResign, + bytes memory becomeImplementationData + ); + + function _latestCEtherDelegate(address) + external + view + returns ( + address implementation, + bool allowResign, + bytes memory becomeImplementationData + ); + + function _setCustomInterestFeeRate(address comptroller, int256 rate) + external; + + function _setDefaultInterestFeeRate(uint256 _defaultInterestFeeRate) + external; + + function _setLatestCErc20Delegate( + address oldImplementation, + address newImplementation, + bool allowResign, + bytes memory becomeImplementationData + ) external; + + function _setLatestCEtherDelegate( + address oldImplementation, + address newImplementation, + bool allowResign, + bytes memory becomeImplementationData + ) external; + + function _setLatestComptrollerImplementation( + address oldImplementation, + address newImplementation + ) external; + + function _setPoolLimits( + uint256 _minBorrowEth, + uint256 _maxSupplyEth, + uint256 _maxUtilizationRate + ) external; + + function _withdrawAssets(address erc20Contract) external; + + function cErc20DelegateWhitelist( + address, + address, + bool + ) external view returns (bool); + + function cEtherDelegateWhitelist( + address, + address, + bool + ) external view returns (bool); + + function comptrollerImplementationWhitelist(address, address) + external + view + returns (bool); + + function customInterestFeeRates(address) external view returns (int256); + + function defaultInterestFeeRate() external view returns (uint256); + + function deployCErc20(bytes memory constructorData) + external + returns (address); + + function deployCEther(bytes memory constructorData) + external + returns (address); + + function initialize(uint256 _defaultInterestFeeRate) external; + + function interestFeeRate() external view returns (uint256); + + function latestCErc20Delegate(address oldImplementation) + external + view + returns ( + address, + bool, + bytes memory + ); + + function latestCEtherDelegate(address oldImplementation) + external + view + returns ( + address, + bool, + bytes memory + ); + + function latestComptrollerImplementation(address oldImplementation) + external + view + returns (address); + + function maxSupplyEth() external view returns (uint256); + + function maxUtilizationRate() external view returns (uint256); + + function minBorrowEth() external view returns (uint256); + + function owner() external view returns (address); + + function renounceOwnership() external; + + function transferOwnership(address newOwner) external; } diff --git a/src/test/interfaces/IFusePoolDirectory.sol b/src/test/interfaces/IFusePoolDirectory.sol index fb503da..6a86751 100644 --- a/src/test/interfaces/IFusePoolDirectory.sol +++ b/src/test/interfaces/IFusePoolDirectory.sol @@ -8,4 +8,4 @@ interface FusePoolDirectory { uint256 blockPosted; uint256 timestampPosted; } -} \ No newline at end of file +} diff --git a/src/test/interfaces/IPlugin.sol b/src/test/interfaces/IPlugin.sol index 9dab7a0..192ea0a 100644 --- a/src/test/interfaces/IPlugin.sol +++ b/src/test/interfaces/IPlugin.sol @@ -1,38 +1,99 @@ +pragma solidity >=0.8.0; + interface Plugin { - function allowance ( address, address ) external view returns ( uint256 ); - function approve ( address spender, uint256 amount ) external returns ( bool ); - function asset ( ) external view returns ( address ); - function assetsOf ( address user ) external view returns ( uint256 ); - function balanceOf ( address ) external view returns ( uint256 ); - function claimRewards ( ) external; - function convertToAssets ( uint256 shares ) external view returns ( uint256 ); - function convertToShares ( uint256 assets ) external view returns ( uint256 ); - function convexBooster ( ) external view returns ( address ); - function convexRewards ( ) external view returns ( address ); - function decimals ( ) external view returns ( uint8 ); - function deposit ( uint256 assets, address receiver ) external returns ( uint256 shares ); - function maxDeposit ( address ) external view returns ( uint256 ); - function maxMint ( address ) external view returns ( uint256 ); - function maxRedeem ( address owner ) external view returns ( uint256 ); - function maxWithdraw ( address owner ) external view returns ( uint256 ); - function mint ( uint256 shares, address receiver ) external returns ( uint256 assets ); - function name ( ) external view returns ( string memory ); - function nonces ( address ) external view returns ( uint256 ); - function permit ( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; - function pid ( ) external view returns ( uint256 ); - function previewDeposit ( uint256 assets ) external view returns ( uint256 ); - function previewMint ( uint256 shares ) external view returns ( uint256 ); - function previewRedeem ( uint256 shares ) external view returns ( uint256 ); - function previewWithdraw ( uint256 assets ) external view returns ( uint256 ); - function redeem ( uint256 shares, address receiver, address owner ) external returns ( uint256 assets ); - function rewardDestination ( ) external view returns ( address ); - function rewardTokens ( uint256 ) external view returns ( address ); - function setRewardDestination ( address newDestination ) external; - function symbol ( ) external view returns ( string memory ); - function totalAssets ( ) external view returns ( uint256 ); - function totalSupply ( ) external view returns ( uint256 ); - function transfer ( address to, uint256 amount ) external returns ( bool ); - function transferFrom ( address from, address to, uint256 amount ) external returns ( bool ); - function updateRewardTokens ( ) external; - function withdraw ( uint256 assets, address receiver, address owner ) external returns ( uint256 shares ); + function allowance(address, address) external view returns (uint256); + + function approve(address spender, uint256 amount) external returns (bool); + + function asset() external view returns (address); + + function assetsOf(address user) external view returns (uint256); + + function balanceOf(address) external view returns (uint256); + + function claimRewards() external; + + function convertToAssets(uint256 shares) external view returns (uint256); + + function convertToShares(uint256 assets) external view returns (uint256); + + function convexBooster() external view returns (address); + + function convexRewards() external view returns (address); + + function decimals() external view returns (uint8); + + function deposit(uint256 assets, address receiver) + external + returns (uint256 shares); + + function maxDeposit(address) external view returns (uint256); + + function maxMint(address) external view returns (uint256); + + function maxRedeem(address owner) external view returns (uint256); + + function maxWithdraw(address owner) external view returns (uint256); + + function mint(uint256 shares, address receiver) + external + returns (uint256 assets); + + function name() external view returns (string memory); + + function nonces(address) external view returns (uint256); + + function permit( + address owner, + address spender, + uint256 value, + uint256 deadline, + uint8 v, + bytes32 r, + bytes32 s + ) external; + + function pid() external view returns (uint256); + + function previewDeposit(uint256 assets) external view returns (uint256); + + function previewMint(uint256 shares) external view returns (uint256); + + function previewRedeem(uint256 shares) external view returns (uint256); + + function previewWithdraw(uint256 assets) external view returns (uint256); + + function redeem( + uint256 shares, + address receiver, + address owner + ) external returns (uint256 assets); + + function rewardDestination() external view returns (address); + + function rewardTokens(uint256) external view returns (address); + + function setRewardDestination(address newDestination) external; + + function symbol() external view returns (string memory); + + function totalAssets() external view returns (uint256); + + function totalSupply() external view returns (uint256); + + function transfer(address to, uint256 amount) external returns (bool); + + function transferFrom( + address from, + address to, + uint256 amount + ) external returns (bool); + + function updateRewardTokens() external; + + function withdraw( + uint256 assets, + address receiver, + address owner + ) external returns (uint256 shares); } diff --git a/src/test/interfaces/console.sol b/src/test/interfaces/console.sol index 6f28592..56fdba6 100644 --- a/src/test/interfaces/console.sol +++ b/src/test/interfaces/console.sol @@ -1,15 +1,23 @@ // SPDX-License-Identifier: MIT -pragma solidity >=0.4.22 <0.9.0; +pragma solidity >=0.8.0; library console { - address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); + address constant CONSOLE_ADDRESS = + address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) - let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) + let r := staticcall( + gas(), + consoleAddress, + payloadStart, + payloadLength, + 0, + 0 + ) } } @@ -17,11 +25,11 @@ library console { _sendLogPayload(abi.encodeWithSignature("log()")); } - function logInt(int p0) internal view { + function logInt(int256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } - function logUint(uint p0) internal view { + function logUint(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } @@ -169,7 +177,7 @@ library console { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } - function log(uint p0) internal view { + function log(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } @@ -185,23 +193,23 @@ library console { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } - function log(uint p0, uint p1) internal view { + function log(uint256 p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } - function log(uint p0, string memory p1) internal view { + function log(uint256 p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } - function log(uint p0, bool p1) internal view { + function log(uint256 p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } - function log(uint p0, address p1) internal view { + function log(uint256 p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } - function log(string memory p0, uint p1) internal view { + function log(string memory p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } @@ -217,7 +225,7 @@ library console { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } - function log(bool p0, uint p1) internal view { + function log(bool p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } @@ -233,7 +241,7 @@ library console { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } - function log(address p0, uint p1) internal view { + function log(address p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } @@ -246,1287 +254,4904 @@ library console { } function log(address p0, address p1) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); - } - - function log(uint p0, uint p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); - } - - function log(uint p0, uint p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); - } - - function log(uint p0, uint p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); - } - - function log(uint p0, uint p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); - } - - function log(uint p0, string memory p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); - } - - function log(uint p0, string memory p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); - } - - function log(uint p0, string memory p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); - } - - function log(uint p0, string memory p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); - } - - function log(uint p0, bool p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); - } - - function log(uint p0, bool p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); - } - - function log(uint p0, bool p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); - } - - function log(uint p0, bool p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); - } - - function log(uint p0, address p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); - } - - function log(uint p0, address p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); - } - - function log(uint p0, address p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); - } - - function log(uint p0, address p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); - } - - function log(string memory p0, uint p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); - } - - function log(string memory p0, uint p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); - } - - function log(string memory p0, uint p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); - } - - function log(string memory p0, uint p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); - } - - function log(string memory p0, string memory p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); - } - - function log(string memory p0, string memory p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); - } - - function log(string memory p0, string memory p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); - } - - function log(string memory p0, string memory p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); - } - - function log(string memory p0, bool p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); - } - - function log(string memory p0, bool p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); - } - - function log(string memory p0, bool p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); - } - - function log(string memory p0, bool p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); - } - - function log(string memory p0, address p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); - } - - function log(string memory p0, address p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); - } - - function log(string memory p0, address p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); - } - - function log(string memory p0, address p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); - } - - function log(bool p0, uint p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); - } - - function log(bool p0, uint p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); - } - - function log(bool p0, uint p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); - } - - function log(bool p0, uint p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); - } - - function log(bool p0, string memory p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); - } - - function log(bool p0, string memory p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); - } - - function log(bool p0, string memory p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); - } - - function log(bool p0, string memory p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); - } - - function log(bool p0, bool p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); - } - - function log(bool p0, bool p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); - } - - function log(bool p0, bool p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); - } - - function log(bool p0, bool p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); - } - - function log(bool p0, address p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); - } - - function log(bool p0, address p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); - } - - function log(bool p0, address p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); - } - - function log(bool p0, address p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); - } - - function log(address p0, uint p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); - } - - function log(address p0, uint p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); - } - - function log(address p0, uint p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); - } - - function log(address p0, uint p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); - } - - function log(address p0, string memory p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); - } - - function log(address p0, string memory p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); - } - - function log(address p0, string memory p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); - } - - function log(address p0, string memory p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); - } - - function log(address p0, bool p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); - } - - function log(address p0, bool p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); - } - - function log(address p0, bool p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); - } - - function log(address p0, bool p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); - } - - function log(address p0, address p1, uint p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); - } - - function log(address p0, address p1, string memory p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); - } - - function log(address p0, address p1, bool p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); - } - - function log(address p0, address p1, address p2) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); - } - - function log(uint p0, uint p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, uint p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, string memory p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, bool p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); - } - - function log(uint p0, address p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, uint p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, string memory p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, bool p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); - } - - function log(string memory p0, address p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, uint p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, string memory p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, bool p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); - } - - function log(bool p0, address p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); - } - - function log(address p0, uint p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); - } - - function log(address p0, string memory p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); - } - - function log(address p0, bool p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, uint p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, uint p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, uint p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, uint p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, string memory p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, string memory p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, string memory p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, string memory p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, bool p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, bool p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, bool p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, bool p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, address p2, uint p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, address p2, string memory p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, address p2, bool p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); - } - - function log(address p0, address p1, address p2, address p3) internal view { - _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); - } - -} \ No newline at end of file + _sendLogPayload( + abi.encodeWithSignature("log(address,address)", p0, p1) + ); + } + + function log( + uint256 p0, + uint256 p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + uint256 p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + uint256 p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + uint256 p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + string memory p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + string memory p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + string memory p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + string memory p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + bool p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + bool p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + bool p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + bool p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + address p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + address p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + address p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + address p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2) + ); + } + + function log( + string memory p0, + uint256 p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2) + ); + } + + function log( + string memory p0, + uint256 p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2) + ); + } + + function log( + string memory p0, + uint256 p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2) + ); + } + + function log( + string memory p0, + uint256 p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2) + ); + } + + function log( + string memory p0, + string memory p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2) + ); + } + + function log( + string memory p0, + string memory p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,string,string)", p0, p1, p2) + ); + } + + function log( + string memory p0, + string memory p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2) + ); + } + + function log( + string memory p0, + string memory p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,string,address)", p0, p1, p2) + ); + } + + function log( + string memory p0, + bool p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2) + ); + } + + function log( + string memory p0, + bool p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2) + ); + } + + function log( + string memory p0, + bool p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2) + ); + } + + function log( + string memory p0, + bool p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2) + ); + } + + function log( + string memory p0, + address p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2) + ); + } + + function log( + string memory p0, + address p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,address,string)", p0, p1, p2) + ); + } + + function log( + string memory p0, + address p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2) + ); + } + + function log( + string memory p0, + address p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(string,address,address)", p0, p1, p2) + ); + } + + function log( + bool p0, + uint256 p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2) + ); + } + + function log( + bool p0, + uint256 p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2) + ); + } + + function log( + bool p0, + uint256 p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2) + ); + } + + function log( + bool p0, + uint256 p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2) + ); + } + + function log( + bool p0, + string memory p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2) + ); + } + + function log( + bool p0, + string memory p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2) + ); + } + + function log( + bool p0, + string memory p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2) + ); + } + + function log( + bool p0, + string memory p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2) + ); + } + + function log( + bool p0, + bool p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2) + ); + } + + function log( + bool p0, + bool p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2) + ); + } + + function log( + bool p0, + bool p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2) + ); + } + + function log( + bool p0, + bool p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2) + ); + } + + function log( + bool p0, + address p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2) + ); + } + + function log( + bool p0, + address p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2) + ); + } + + function log( + bool p0, + address p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2) + ); + } + + function log( + bool p0, + address p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2) + ); + } + + function log( + address p0, + uint256 p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2) + ); + } + + function log( + address p0, + uint256 p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2) + ); + } + + function log( + address p0, + uint256 p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2) + ); + } + + function log( + address p0, + uint256 p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2) + ); + } + + function log( + address p0, + string memory p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2) + ); + } + + function log( + address p0, + string memory p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,string,string)", p0, p1, p2) + ); + } + + function log( + address p0, + string memory p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2) + ); + } + + function log( + address p0, + string memory p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,string,address)", p0, p1, p2) + ); + } + + function log( + address p0, + bool p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2) + ); + } + + function log( + address p0, + bool p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2) + ); + } + + function log( + address p0, + bool p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2) + ); + } + + function log( + address p0, + bool p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2) + ); + } + + function log( + address p0, + address p1, + uint256 p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2) + ); + } + + function log( + address p0, + address p1, + string memory p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,address,string)", p0, p1, p2) + ); + } + + function log( + address p0, + address p1, + bool p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2) + ); + } + + function log( + address p0, + address p1, + address p2 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(address,address,address)", p0, p1, p2) + ); + } + + function log( + uint256 p0, + uint256 p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + uint256 p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + uint256 p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + uint256 p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + uint256 p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + uint256 p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,uint,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + string memory p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,string,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + bool p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + bool p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + bool p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3) + ); + } + + function log( + uint256 p0, + bool p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + bool p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,bool,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + uint256 p0, + address p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(uint,address,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + uint256 p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,uint,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + string memory p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,string,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + bool p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,bool,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + string memory p0, + address p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(string,address,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + uint256 p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + uint256 p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + uint256 p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + uint256 p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + uint256 p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,uint,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + string memory p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,string,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + bool p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + bool p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + bool p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3) + ); + } + + function log( + bool p0, + bool p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + bool p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,bool,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + bool p0, + address p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(bool,address,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + uint256 p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,uint,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + string memory p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,string,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + bool p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,bool,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + uint256 p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,uint,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + uint256 p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,uint,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + uint256 p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,uint,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + uint256 p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,uint,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + string memory p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,string,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + string memory p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,string,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + string memory p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,string,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + string memory p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,string,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + bool p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,bool,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + bool p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,bool,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + bool p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,bool,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + bool p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,bool,address)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + address p2, + uint256 p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,address,uint)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + address p2, + string memory p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,address,string)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + address p2, + bool p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,address,bool)", + p0, + p1, + p2, + p3 + ) + ); + } + + function log( + address p0, + address p1, + address p2, + address p3 + ) internal view { + _sendLogPayload( + abi.encodeWithSignature( + "log(address,address,address,address)", + p0, + p1, + p2, + p3 + ) + ); + } +} diff --git a/src/test/utils/Console.sol b/src/test/utils/Console.sol index 019619f..ca03394 100644 --- a/src/test/utils/Console.sol +++ b/src/test/utils/Console.sol @@ -179,7 +179,7 @@ library console { } function log(bytes32[] memory p0) internal view { - for (uint256 i; i < p0.length;) { + for (uint256 i; i < p0.length; ) { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0[i])); unchecked { ++i; @@ -192,7 +192,7 @@ library console { } function log(uint256[] memory p0) internal view { - for (uint256 i; i < p0.length;) { + for (uint256 i; i < p0.length; ) { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0[i])); unchecked { ++i; @@ -205,7 +205,7 @@ library console { } function log(string[] memory p0) internal view { - for (uint256 i; i < p0.length;) { + for (uint256 i; i < p0.length; ) { _sendLogPayload(abi.encodeWithSignature("log(string)", p0[i])); unchecked { ++i; @@ -218,7 +218,7 @@ library console { } function log(bool[] memory p0) internal view { - for (uint256 i; i < p0.length;) { + for (uint256 i; i < p0.length; ) { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0[i])); unchecked { ++i; diff --git a/src/vaults/alchemix/AlchemixERC4626.sol b/src/vaults/alchemix/AlchemixERC4626.sol index f31fbb9..1ebc101 100644 --- a/src/vaults/alchemix/AlchemixERC4626.sol +++ b/src/vaults/alchemix/AlchemixERC4626.sol @@ -11,31 +11,21 @@ import {RewardsClaimer} from "../../utils/RewardsClaimer.sol"; // main Alchemix staking contract basic interface interface IAlchemixStaking { // deposit into Alchemix staking - function deposit( - uint256 _pid, - uint256 _amount - ) external; + function deposit(uint256 _pid, uint256 _amount) external; // withdraw from Alchemix staking - function withdraw( - uint256 _pid, - uint256 _amount - ) external; + function withdraw(uint256 _pid, uint256 _amount) external; // claim Alchemix staking rewards - function claim( - uint256 _pid - ) external; + function claim(uint256 _pid) external; // get Alchemix staking (pool id + 1) for underlying - function tokenPoolIds( - address _token - ) external returns (uint256 _pid); - - function getStakeTotalDeposited( - address _account, - uint256 _pid - ) external view returns (uint256); + function tokenPoolIds(address _token) external returns (uint256 _pid); + + function getStakeTotalDeposited(address _account, uint256 _pid) + external + view + returns (uint256); } /// @title Alchemix Finance Staking Yield Bearing Vault diff --git a/src/vaults/sushi/MasterchefERC4626.sol b/src/vaults/sushi/MasterchefERC4626.sol index a1cee18..df4c8ea 100644 --- a/src/vaults/sushi/MasterchefERC4626.sol +++ b/src/vaults/sushi/MasterchefERC4626.sol @@ -23,19 +23,14 @@ interface IMasterchef { ) external; // claim Masterchef staking rewards - function harvest( - uint256 _pid, - address _to - ) external; + function harvest(uint256 _pid, address _to) external; - function userInfo( - uint256 _pid, - address _account - ) external view returns (uint256, int256); + function userInfo(uint256 _pid, address _account) + external + view + returns (uint256, int256); - function lpToken( - uint256 _pid - ) external view returns (address); + function lpToken(uint256 _pid) external view returns (address); } /// @title Masterchef Staking Yield Bearing Vault