Skip to content

Commit

Permalink
update token address
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Feb 8, 2024
1 parent 671c298 commit 13b210e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/TwapTrend.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ IRouteProcessor constant ROUTE_PROCESSOR = IRouteProcessor(address(0x0a6e511Fe66

uint256 constant VAULT_ID = uint256(keccak256("vault"));

// TRADE token holder.
address constant POLYGON_TRADE_HOLDER = 0xD6216fC19DB775Df9774a6E33526131dA7D19a2c;
// IEON token holder.
address constant POLYGON_IEON_HOLDER = 0xd6756f5aF54486Abda6bd9b1eee4aB0dBa7C3ef2;
// USDT token holder.
address constant POLYGON_USDT_HOLDER = 0xF977814e90dA44bFA03b6295A0616a897441aceC;

Expand All @@ -31,8 +31,8 @@ address constant POLYGON_SUSHI_V2_FACTORY = 0xc35DADB65012eC5796536bD9864eD8773a
/// @dev https://docs.sushi.com/docs/Products/Classic%20AMM/Deployment%20Addresses
address constant POLYGON_SUSHI_V2_ROUTER = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506;

/// @dev https://polygonscan.com/address/0x692AC1e363ae34b6B489148152b12e2785a3d8d6
IERC20 constant POLYGON_TRADE_TOKEN_ADDRESS = IERC20(0x692AC1e363ae34b6B489148152b12e2785a3d8d6);
/// @dev https://polygonscan.com/address/0xd0e9c8f5Fae381459cf07Ec506C1d2896E8b5df6
IERC20 constant POLYGON_IEON_TOKEN_ADDRESS = IERC20(0xd0e9c8f5Fae381459cf07Ec506C1d2896E8b5df6);

/// @dev https://polygonscan.com/address/0xc2132D05D31c914a87C6611C10748AEb04B58e8F
IERC20 constant POLYGON_USDT_TOKEN_ADDRESS = IERC20(0xc2132D05D31c914a87C6611C10748AEb04B58e8F);
Expand All @@ -55,3 +55,11 @@ IOrderBookV3 constant POLYGON_ORDERBOOK = IOrderBookV3(0xDE5aBE2837bc042397D80E3
address constant POLYGON_ORDERBOOKSUBPARSER = 0x8A99456dD0E1CaA187CF6B779cA42EFE94E9C42b;
address constant UNISWAP_WORDS = 0xd97e8e581393055521F813D6889CfcCEDF7847C6;

function polygonIeonIo() pure returns (IO memory) {
return IO(address(POLYGON_IEON_TOKEN_ADDRESS), 18, VAULT_ID);
}

function polygonIeonIo() pure returns (IO memory) {
return IO(address(POLYGON_USDT_TOKEN_ADDRESS), 6, VAULT_ID);
}

0 comments on commit 13b210e

Please sign in to comment.