feat: make useful variables public

commit 283e3cd7bf
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date:   Tue Mar 19 15:24:21 2024 +0800

    feat: update compilation

    * hfork - istanbul
    * solc ver: 0.8.25

commit f31475bc30
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date:   Tue Mar 19 15:24:02 2024 +0800

    feat: make useful variables public
This commit is contained in:
2024-03-21 12:55:45 +08:00
parent 9560d0c5df
commit f812790610
7 changed files with 17 additions and 17 deletions

View File

@@ -1,13 +1,13 @@
SOLC = /usr/bin/solc
SOLC = /usr/local/bin/solc
all:
$(SOLC) --bin SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.bin
$(SOLC) --abi SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.json
$(SOLC) --metadata SwapPool.sol --evm-version byzantium | awk 'NR>3' > SwapPool.metadata.json
$(SOLC) --bin SwapPool.sol --evm-version istanbul | awk 'NR>3' > SwapPool.bin
$(SOLC) --abi SwapPool.sol --evm-version istanbul | awk 'NR>3' > SwapPool.json
$(SOLC) --metadata SwapPool.sol --evm-version istanbul | awk 'NR>3' > SwapPool.metadata.json
truncate -s -1 SwapPool.bin
$(SOLC) --bin DecimalQuote.sol --evm-version byzantium | awk 'NR>3' > DecimalQuote.bin
$(SOLC) --abi DecimalQuote.sol --evm-version byzantium | awk 'NR>3' > DecimalQuote.json
$(SOLC) --metadata DecimalQuote.sol --evm-version byzantium | awk 'NR>3' > DecimalQuote.metadata.json
$(SOLC) --bin DecimalQuote.sol --evm-version istanbul | awk 'NR>3' > DecimalQuote.bin
$(SOLC) --abi DecimalQuote.sol --evm-version istanbul | awk 'NR>3' > DecimalQuote.json
$(SOLC) --metadata DecimalQuote.sol --evm-version istanbul | awk 'NR>3' > DecimalQuote.metadata.json
truncate -s -1 DecimalQuote.bin
install: all

View File

@@ -9,11 +9,11 @@ contract SwapPool {
// Implements EIP173
address public owner;
address tokenRegistry;
address tokenLimiter;
address quoter;
uint256 feePpm;
address feeAddress;
address public tokenRegistry;
address public tokenLimiter;
address public quoter;
uint256 public feePpm;
address public feeAddress;
string public name;
string public symbol;