Skip to content

Commit 1c7cc28

Browse files
author
hurstelm
committed
fix(arbitration): fix ETH transfer in KlerosCore and dispute-kits and add SafeSend.sol in library
1 parent 7afde19 commit 1c7cc28

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

contracts/src/arbitration/KlerosCoreBase.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ abstract contract KlerosCoreBase is IArbitratorV2, Initializable, UUPSProxiable
9090

9191
uint256 private constant ALPHA_DIVISOR = 1e4; // The number to divide `Court.alpha` by.
9292
uint256 private constant NON_PAYABLE_AMOUNT = (2 ** 256 - 2) / 2; // An amount higher than the supply of ETH.
93-
address constant WETH_ADDRESS = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // The address of Ethereum Mainnet for WETH send
9493

9594
address public governor; // The governor of the contract.
9695
address public guardian; // The guardian able to pause asset withdrawals.

contracts/src/arbitration/dispute-kits/DisputeKitClassicBase.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {WethLike, SafeSend} from "../../libraries/SafeSend.sol";
1414
/// - an incentive system: equal split between coherent votes,
1515
/// - an appeal system: fund 2 choices only, vote on any choice.
1616
abstract contract DisputeKitClassicBase is IDisputeKit, Initializable, UUPSProxiable {
17+
using SafeSend for address payable;
1718
// ************************************* //
1819
// * Structs * //
1920
// ************************************* //

0 commit comments

Comments
 (0)