difftreelog
chore update evm stubs
in: master
3 files changed
pallets/evm-contract-helpers/src/stubs/ContractHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth171 }171 }172172173 /// Get current contract sponsoring rate limit173 /// Get current contract sponsoring rate limit174 /// @param contractAddress Contract to get sponsoring mode of174 /// @param contractAddress Contract to get sponsoring rate limit of175 /// @return uint32 Amount of blocks between two sponsored transactions175 /// @return uint32 Amount of blocks between two sponsored transactions176 /// @dev EVM selector for this function is: 0x610cfabd,176 /// @dev EVM selector for this function is: 0x610cfabd,177 /// or in textual repr: getSponsoringRateLimit(address)177 /// or in textual repr: getSponsoringRateLimit(address)203 dummy = 0;203 dummy = 0;204 }204 }205205206 /// Set contract sponsoring fee limit207 /// @dev Sponsoring fee limit - is maximum fee that could be spent by208 /// single transaction209 /// @param contractAddress Contract to change sponsoring fee limit of210 /// @param feeLimit Fee limit211 /// @dev Only contract owner can change this setting206 /// @dev EVM selector for this function is: 0x03aed665,212 /// @dev EVM selector for this function is: 0x03aed665,207 /// or in textual repr: setSponsoringFeeLimit(address,uint256)213 /// or in textual repr: setSponsoringFeeLimit(address,uint256)208 function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit)214 function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit)214 dummy = 0;220 dummy = 0;215 }221 }216222223 /// Get current contract sponsoring fee limit224 /// @param contractAddress Contract to get sponsoring fee limit of225 /// @return uint256 Maximum amount of fee that could be spent by single226 /// transaction217 /// @dev EVM selector for this function is: 0xc3fdc9ee,227 /// @dev EVM selector for this function is: 0xc3fdc9ee,218 /// or in textual repr: getSponsoringFeeLimit(address)228 /// or in textual repr: getSponsoringFeeLimit(address)219 function getSponsoringFeeLimit(address contractAddress)229 function getSponsoringFeeLimit(address contractAddress)tests/src/eth/api/ContractHelpers.soldiffbeforeafterboth111 function setSponsoringMode(address contractAddress, uint8 mode) external;111 function setSponsoringMode(address contractAddress, uint8 mode) external;112112113 /// Get current contract sponsoring rate limit113 /// Get current contract sponsoring rate limit114 /// @param contractAddress Contract to get sponsoring mode of114 /// @param contractAddress Contract to get sponsoring rate limit of115 /// @return uint32 Amount of blocks between two sponsored transactions115 /// @return uint32 Amount of blocks between two sponsored transactions116 /// @dev EVM selector for this function is: 0x610cfabd,116 /// @dev EVM selector for this function is: 0x610cfabd,117 /// or in textual repr: getSponsoringRateLimit(address)117 /// or in textual repr: getSponsoringRateLimit(address)131 function setSponsoringRateLimit(address contractAddress, uint32 rateLimit)131 function setSponsoringRateLimit(address contractAddress, uint32 rateLimit)132 external;132 external;133133134 /// Set contract sponsoring fee limit135 /// @dev Sponsoring fee limit - is maximum fee that could be spent by136 /// single transaction137 /// @param contractAddress Contract to change sponsoring fee limit of138 /// @param feeLimit Fee limit139 /// @dev Only contract owner can change this setting134 /// @dev EVM selector for this function is: 0x03aed665,140 /// @dev EVM selector for this function is: 0x03aed665,135 /// or in textual repr: setSponsoringFeeLimit(address,uint256)141 /// or in textual repr: setSponsoringFeeLimit(address,uint256)136 function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit)142 function setSponsoringFeeLimit(address contractAddress, uint256 feeLimit)137 external;143 external;138144145 /// Get current contract sponsoring fee limit146 /// @param contractAddress Contract to get sponsoring fee limit of147 /// @return uint256 Maximum amount of fee that could be spent by single148 /// transaction139 /// @dev EVM selector for this function is: 0xc3fdc9ee,149 /// @dev EVM selector for this function is: 0xc3fdc9ee,140 /// or in textual repr: getSponsoringFeeLimit(address)150 /// or in textual repr: getSponsoringFeeLimit(address)141 function getSponsoringFeeLimit(address contractAddress)151 function getSponsoringFeeLimit(address contractAddress)