Skip to content

Commit

Permalink
removed ztoken variables
Browse files Browse the repository at this point in the history
  • Loading branch information
David405 committed Apr 29, 2024
1 parent 6dc7910 commit 27eeb1a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 105 deletions.
6 changes: 0 additions & 6 deletions contracts/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ contract Vault is

address public zUSD;

address public zNGN;

address public zXAF;

address public zZAR;

uint256 private constant MULTIPLIER = 1e6;

uint256 private constant HALF_MULTIPLIER = 1e3;
Expand Down
98 changes: 0 additions & 98 deletions contracts/abis/Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -688,19 +688,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getzNGNAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getzUSDAddress",
Expand All @@ -714,32 +701,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getzXAFAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getzZARAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "globalMintersFee",
Expand Down Expand Up @@ -1026,26 +987,6 @@
"internalType": "uint256",
"name": "_netMint",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_zusd",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_zngn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_zxaf",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_zzar",
"type": "uint256"
}
],
"name": "resetUserState",
Expand Down Expand Up @@ -1328,19 +1269,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "zNGN",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "zUSD",
Expand All @@ -1353,31 +1281,5 @@
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "zXAF",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "zZAR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
2 changes: 1 addition & 1 deletion scripts/reset_mainnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function deployOracle(_admin, _datafeed, _zusd, _zngn, _zzar ,_zxaf) {

async function addContract(_address, _name, _abi) {
const success = await client.addContract({
network: 'fuji',
network: 'avalanche c-chain',
address: _address,
name: _name,
abi: _abi,
Expand Down

0 comments on commit 27eeb1a

Please sign in to comment.