aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-12-15 17:06:05 -0500
committerAaron Buchwald <[email protected]>2020-12-15 17:06:05 -0500
commitb892b31f7f9bc9a63eb9774e7fbe0b5cd82891ae (patch)
tree6081d3a5d346b8c67fb8a202a44370307803a620
parent34da2a9bbc1cad12e5d1ab14799290e4b4987f99 (diff)
Update precompile addresses
-rw-r--r--contracts/nativeAssets.sol4
1 files 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));