National Australia Bank's deployed StablecoinCoreV1 implementation.
Ethereum Mainnet
- Global Control: 0x7d1289806aa974c6b626fa17d30676ddf7ed31cb
- StablecoinCoreV1: 0x14c46a24045EdCe3B3018902C9590CD5db8e1fE2
- AUDNProxy: 0xC035386af88e78B0E1C8E248Ecf4142AE3e6956f
Currency Instances
- AUDN: 0x14c46a24045EdCe3B3018902C9590CD5db8e1fE2
- EURN: 0x550A31868a03d126FEe937d33281473B4147A22A
- GPNN: 0x01168290573d83529864Cf017141CF4fD4C060d3
- JPYN: 0x87A8a720106C0EFA6DF528b0762fc9Ab8AF9bCf3
- NZDN: 0xfCF588002f8CE1112584B7F7CAD19cB63E3041e6
- SGDN: 0xCA37348D30960115b31e55B715617Cb27b18e32E
- USDN: 0xaA3C4B459e20bb5AD3724F6db86A0b687Ec5c32a
- Clone the repo
- Follow all instructions on this page beginning from run
yarn init
- Install OpenZeppelin contracts via command from root of repo
yarn add --dev @openzeppelin/contracts @openzeppelin/hardhat-upgrades @openzeppelin/contracts-upgradeable
- Ensure that your compiler has enabled using the optimiser on
hardhat.config.js
. More general information found here, here regarding the hardhat upgrades, and here regarding openzeppelin upgradable contracts. - For live deployment follow all instructions on this page. More information regarding deployment and verification found here and here
Local testing via command npx hardhat test
Encountering either Error: Package subpath './lib/utils'...
or ethers typeerror: cannot read properties of undefined (reading 'jsonrpcprovider')
can be resolved by using an earlier version of ethers.
- Delete
node_modules
- Run:
yarn add [email protected]