From b892b31f7f9bc9a63eb9774e7fbe0b5cd82891ae Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Tue, 15 Dec 2020 17:06:05 -0500 Subject: Update precompile addresses --- contracts/nativeAssets.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/nativeAssets.sol b/contracts/nativeAssets.sol index 0656271..836c4d8 100644 --- a/contracts/nativeAssets.sol +++ b/contracts/nativeAssets.sol @@ -3,8 +3,8 @@ pragma solidity >=0.6.0 <0.8.0; library NativeAssets { - address constant balanceAddr = 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF; - address constant transferAddr = 0xffffFFFfFFffffffffffffffFfFFFfffFFFfFFfE; + address constant balanceAddr = 0x0100000000000000000000000000000000000001; + address constant transferAddr = 0x0100000000000000000000000000000000000002; function assetBalance(address addr, uint256 assetID) public returns (uint256) { (bool success, bytes memory data) = balanceAddr.call(abi.encodePacked(addr, assetID)); -- cgit v1.2.3-70-g09d2