-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathStdTokens.sol
More file actions
20 lines (17 loc) · 1.05 KB
/
StdTokens.sol
File metadata and controls
20 lines (17 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
import {ITIP20} from "./interfaces/ITIP20.sol";
/// @title Standard Tokens Library for Tempo
///
/// @notice <https://github.com/tempoxyz/tempo/blob/main/crates/contracts/src/precompiles/mod.rs>
/// @notice <https://github.com/tempoxyz/tempo/blob/98ad3e3e2c400e9f2adf6da6e8a3523669f7c558/xtask/src/genesis_args.rs#L168-L200>
library StdTokens {
address internal constant PATH_USD_ADDRESS = 0x20C0000000000000000000000000000000000000;
address internal constant ALPHA_USD_ADDRESS = 0x20C0000000000000000000000000000000000001;
address internal constant BETA_USD_ADDRESS = 0x20C0000000000000000000000000000000000002;
address internal constant THETA_USD_ADDRESS = 0x20C0000000000000000000000000000000000003;
ITIP20 internal constant PATH_USD = ITIP20(PATH_USD_ADDRESS);
ITIP20 internal constant ALPHA_USD = ITIP20(ALPHA_USD_ADDRESS);
ITIP20 internal constant BETA_USD = ITIP20(BETA_USD_ADDRESS);
ITIP20 internal constant THETA_USD = ITIP20(THETA_USD_ADDRESS);
}