smart-trade-networks
v2.0.5
Published
## Backend Module Supporting Bridge and Governance - Multisig functions (Add Signer, Remove Signer, Mint Tokens) - ERC20 Token Manager (Mint Tokens if multisig is the owner of the contract) - Fee Collector for STN5 Token holders.
Downloads
90
Readme
Features
Backend Module Supporting Bridge and Governance
- Multisig functions (Add Signer, Remove Signer, Mint Tokens)
- ERC20 Token Manager (Mint Tokens if multisig is the owner of the contract)
- Fee Collector for STN5 Token holders.
Token Deployment Module
- We deploy all tokens from this repo and recorde their addresses on this page.
TODO: Seperate out the REA and Companies Smart Trade Networks Contracts.
Published in NPM as smart-trade-networks (should change name to STN-bridge-contrcts)
TODO: Seperate out the REA and Companies Smart Trade Networks Contracts.
- Contracts that are used by the bridge-toolbox front end.
- Tracking token deployments that use the bridge
To check what is the structure of deployed contracts go to:
https://drive.google.com/file/d/13GWsvEjF79yNdUlPBbvz5RGdo1N-2AgM/view?usp=sharing
Mumbai
ChildMintable HDREC: 0x9565245FBB132EB86041A3C04503FaC2E29479CB //already mapped
ChildMintable STN: 0xF0A1A50b6C990A3064BAa4F13EBf67dce158F256 //not yet mapped
ChildMintable EWT: 0x89cF520819203012A6aFD0a70e89D7bd3D685B98 // not yet mapped
MultisigENS: 0xfaad3d324daf3652cd6d9eb7db34c56d8d4f6762
Create2Deployer: 0x7A1Ce92356feDfEf55822b48339eC31D1A9913cc
FeeCollector Implementation: 0xcfe42e199077d894e893eaa0150b937eee0dcccc
FeeCollector Proxy: 0xc5caaa42572e7e5663da30c2da2f9c3f85dafa27
MultisigDeployer Implementation: 0x984c0b19faf7b689a558187c7ed319d92e6d4101
Multisig Deployer Proxy: 0xc6490e9769a49137d3522bbe98dab1532be00879
Goerli
RootMintable HDREC: 0x18e0eE6D0488156C9Dc55d2663e9Dc5bEb6bB4E3 //already mapped
RootMintable STN: 0xfECbEbA0027aE303746092a86C01bd8785e90609 //not yet mapped
MultisigENS: 0xfaad3d324daf3652cd6d9eb7db34c56d8d4f6762
Create2Deployer: 0x7A1Ce92356feDfEf55822b48339eC31D1A9913cc
FeeCollector Implementation: 0xcfe42e199077d894e893eaa0150b937eee0dcccc
FeeCollector Proxy: 0xc5caaa42572e7e5663da30c2da2f9c3f85dafa27
MultisigDeployer Implementation: 0x984c0b19faf7b689a558187c7ed319d92e6d4101
Multisig Deployer Proxy: 0xc6490e9769a49137d3522bbe98dab1532be00879
Matic Mainnet
ChildMintable HDREC: 0x55227813894F392bD086A47eF0FB0273EC041466 //already mapped
ChildMintable PGIN: 0x4513Ea725B7E7b5d596780016D6835f2CD67dDb1 //not yet mapped
ChildMintable WATER: 0xb5D270F5CA40B863D8dC3A26d388ca1565f071d5 //not yet mapped
ChildMintable SLHP: 0x23fB091DfFE8795DCd3728386B7aC79E7c683C5B // not yet mapped (Tom deployed with remix and verified)
ChildMintable ATB: 0xE70Ce2580373Cc074543a6C7A0d84C6e675b7530 // not yet mapped (Tom deployed with remix and verified)
ChildMintable NEN: 0xad49c673055eAE9f4f5bfe8596d988c372b68b64 // not yet mapped (Tom deployed with remix and verified)
ChildMintable CSC: 0xd9ef25512C46CE76e7faDea66FD4D4929FcF84af // not yet mapped (Tom deployed with remix and verified)
ChildMintable STN: 0x1F706013c42D2998E17cF537551f9CE8efF78107 // not yet mapped (Tom deployed with remix and verified)
ChildMintable FLC: 0xb7ED4dD9258D5b49df9a8020FBC2653bfE7db82E // not yet mapped (Tom deployed with remix and verified)
ChildMintable SOOM: 0xf13916108C6435579764F7dbd95Da4951a2AB039 // not yet mapped (Tom deployed with remix and verified)
ChildMintable HAP: 0x65af12EfF1240DcC69A9929e2f95550EbCc409F3 // not yet mapped (Housing Agility Project for Sun)
Child STN5: 0xE4f0EefC8b184d9AFDD5Cfb6e4281ec27B6f3095 //not yet mapped
Child STN: 0xFdc4D4827054de137F333069a7947Fb437259a60
MultisigENS: 0xfaad3d324daf3652cd6d9eb7db34c56d8d4f6762
Create2Deployer: 0x7A1Ce92356feDfEf55822b48339eC31D1A9913cc
FeeCollector Implementation: 0xcfe42e199077d894e893eaa0150b937eee0dcccc
FeeCollector Proxy: 0xc5caaa42572e7e5663da30c2da2f9c3f85dafa27
MultisigDeployer Implementation: 0x984c0b19faf7b689a558187c7ed319d92e6d4101
Multisig Deployer Proxy: 0xc6490e9769a49137d3522bbe98dab1532be00879
ETH Mainnet
STN5: 0x55150E8378B81F930f310d4B62AB7e1252c30B9B
RootMintable STN: 0xAfDdF3b87D590Eef8a449f7E7b70D72E9B065B88
MultisigENS:
Create2Deployer:
FeeCollector Implementation:
FeeCollector Proxy:
MultisigDeployer Implementation:
Multisig Deployer Proxy:
Verify contracts using truffle-plugin-verify
Matic
truffle run verify ChildMintableERC20@0xFdc4D4827054de137F333069a7947Fb437259a60 --forceConstructorArgs string:000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000a6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa000000000000000000000000756b9136da312443c6b2c5262d88be592dd8a4a70000000000000000000000000000000000000000000000000000000000000014536d617274205472616465204e6574776f726b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353544e0000000000000000000000000000000000000000000000000000000000 --network matic
Ethereum
truffle run verify RootMintableERC20@0xAfDdF3b87D590Eef8a449f7E7b70D72E9B065B88 --forceConstructorArgs string:000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000009923263fa127b3d1484cfd649df8f1831c2a74e40000000000000000000000000000000000000000000000000000000000000014536d617274205472616465204e6574776f726b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353544e0000000000000000000000000000000000000000000000000000000000 --network mainnet
truffle run verify RootMintableERC20@0xfECbEbA0027aE303746092a86C01bd8785e90609 --forceConstructorArgs string:000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000037c3bfc05d5ebf9ebb3ff80ce0bd0133bf221bc80000000000000000000000000000000000000000000000000000000000000014536d617274205472616465204e6574776f726b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353544e0000000000000000000000000000000000000000000000000000000000 --network goerli