Changing testnet contracts
This commit is contained in:
parent
c2534570cc
commit
c295c52752
|
@ -29,7 +29,7 @@ module.exports = {
|
||||||
"minAcceptedRate": 1,
|
"minAcceptedRate": 1,
|
||||||
"refreshPricePeriod": 60000
|
"refreshPricePeriod": 60000
|
||||||
},
|
},
|
||||||
"0x121a430A73Fc13e2D6d4a9dc3E943de647c30f8f": {
|
"0x6DBf417FB1b23E14Bb888BF22fb5f40CbBED4D0C": {
|
||||||
"name": "Status Gas Relayer Test Token",
|
"name": "Status Gas Relayer Test Token",
|
||||||
"symbol": "SNT",
|
"symbol": "SNT",
|
||||||
"minAcceptedRate": 0.0001500,
|
"minAcceptedRate": 0.0001500,
|
||||||
|
@ -42,7 +42,7 @@ module.exports = {
|
||||||
"IdentityGasRelay": {
|
"IdentityGasRelay": {
|
||||||
"abiFile": "../abi/IdentityGasRelay.json",
|
"abiFile": "../abi/IdentityGasRelay.json",
|
||||||
"isIdentity": true,
|
"isIdentity": true,
|
||||||
"factoryAddress": "0x89976FeEC7CFDF2DF5194e363FD2a3388e2DC91A",
|
"factoryAddress": "0x3CBe029665B0688612CE19CFcB74a41BC1aEe179",
|
||||||
"kernelVerification": "isKernel(bytes32)",
|
"kernelVerification": "isKernel(bytes32)",
|
||||||
"allowedFunctions": [
|
"allowedFunctions": [
|
||||||
{
|
{
|
||||||
|
@ -59,7 +59,7 @@ module.exports = {
|
||||||
"SNTController": {
|
"SNTController": {
|
||||||
"abiFile": "../abi/SNTController.json",
|
"abiFile": "../abi/SNTController.json",
|
||||||
"isIdentity": false,
|
"isIdentity": false,
|
||||||
"address": "0xf558aC91312821B0E1802567BC785355AA811783",
|
"address": "0xB4A2d878C2426A3eba46B5C89ddc29aCB98dBA52",
|
||||||
"allowedFunctions": [
|
"allowedFunctions": [
|
||||||
{
|
{
|
||||||
"function":"transferSNT(address,uint256,uint256,uint256,bytes)"
|
"function":"transferSNT(address,uint256,uint256,uint256,bytes)"
|
||||||
|
|
|
@ -6,6 +6,7 @@ module.exports = {
|
||||||
host: "localhost", // Host of the blockchain node
|
host: "localhost", // Host of the blockchain node
|
||||||
port: 8545, // Port of the blockchain node
|
port: 8545, // Port of the blockchain node
|
||||||
type: "rpc" // Type of connection (ws or rpc),
|
type: "rpc" // Type of connection (ws or rpc),
|
||||||
|
|
||||||
// Accounts to use instead of the default account to populate your wallet
|
// Accounts to use instead of the default account to populate your wallet
|
||||||
/*,accounts: [
|
/*,accounts: [
|
||||||
{
|
{
|
||||||
|
@ -74,47 +75,57 @@ module.exports = {
|
||||||
testnet: {
|
testnet: {
|
||||||
contracts: {
|
contracts: {
|
||||||
//
|
//
|
||||||
|
|
||||||
"MiniMeTokenFactory": {
|
"MiniMeTokenFactory": {
|
||||||
"address": "0xD1A2f3726331d6100E8BcD1484EdF796B0b20cc9"
|
"address": "0xc20405f3CfF14854Db820FcF0CD376BdC20e1d79"
|
||||||
},
|
},
|
||||||
"STT": {
|
"STT": {
|
||||||
"instanceOf": "TestMiniMeToken",
|
"instanceOf": "TestMiniMeToken",
|
||||||
"address": "0x121a430A73Fc13e2D6d4a9dc3E943de647c30f8f"
|
"address": "0x6DBf417FB1b23E14Bb888BF22fb5f40CbBED4D0C"
|
||||||
},
|
},
|
||||||
"SNTController": {
|
"SNTController": {
|
||||||
"address": "0xf558aC91312821B0E1802567BC785355AA811783"
|
"address": "0xB4A2d878C2426A3eba46B5C89ddc29aCB98dBA52"
|
||||||
},
|
},
|
||||||
"IdentityGasRelay": {
|
"IdentityGasRelay": {
|
||||||
"address": "0x4b571c5e75E93F53E985b12A3D107318178b9B5F"
|
"address": "0x186427a558E7038B5500D44Bd4da9CCe37f66209"
|
||||||
},
|
},
|
||||||
"IdentityFactory": {
|
"IdentityFactory": {
|
||||||
"address": "0x89976FeEC7CFDF2DF5194e363FD2a3388e2DC91A"
|
"address": "0x3CBe029665B0688612CE19CFcB74a41BC1aEe179"
|
||||||
},
|
},
|
||||||
"TestContract": {
|
"TestContract": {
|
||||||
"address": "0xa7aeF1cd3e4a8425D9A1E13B5557908895dCbdBE"
|
"address": "0x9f770Ec6955b1Ba4f3E10F3e93acF2530cBCF1Fc"
|
||||||
}
|
}
|
||||||
|
|
||||||
// If needed to deploy contracts again, uncomment the following lines
|
// If needed to deploy contracts again, uncomment the following lines
|
||||||
/*
|
/*
|
||||||
"MiniMeTokenFactory": {"args":[]},
|
"MiniMeTokenFactory": {
|
||||||
|
"args":[],
|
||||||
|
"gasPrice": 20000000000
|
||||||
|
},
|
||||||
"STT": {
|
"STT": {
|
||||||
"instanceOf": "MiniMeToken",
|
"instanceOf": "TestMiniMeToken",
|
||||||
"args":["$MiniMeTokenFactory", "0x0", "0x0", "Status Gas Relayer Test Token", 18, "STT", true],
|
"args":["$MiniMeTokenFactory", "0x0", "0x0", "Status Gas Relayer Test Token", 18, "STT", true],
|
||||||
"gasLimit": 4000000
|
"gasLimit": 4000000,
|
||||||
|
"gasPrice": 20000000000
|
||||||
},
|
},
|
||||||
"SNTController": {
|
"SNTController": {
|
||||||
"args": ["0x26C3f244D0CfD5Bde38fC9A4eb212fA1556eDfA2", "$STT"]
|
"args": ["0x26C3f244D0CfD5Bde38fC9A4eb212fA1556eDfA2", "$STT"],
|
||||||
|
"gasPrice": 20000000000
|
||||||
},
|
},
|
||||||
"IdentityGasRelay": {
|
"IdentityGasRelay": {
|
||||||
"deploy": true,
|
"deploy": true,
|
||||||
"args": [[], [], [], 1, 1, "0x0000000000000000000000000000000000000000"]
|
"args": [[], [], [], 1, 1, "0x0000000000000000000000000000000000000000"] ,
|
||||||
|
"gasPrice": 20000000000
|
||||||
},
|
},
|
||||||
"IdentityFactory": {
|
"IdentityFactory": {
|
||||||
"args":[],
|
"args":[],
|
||||||
"gasLimit": 5000000,
|
"gasLimit": 5000000,
|
||||||
"onDeploy": ["IdentityFactory.methods.setKernel('$IdentityGasRelay').send({gasLimit: 6000000})"]
|
"onDeploy": ["IdentityFactory.methods.setKernel('$IdentityGasRelay').send({gasLimit: 6000000})"],
|
||||||
|
"gasPrice": 20000000000
|
||||||
},
|
},
|
||||||
"TestContract": {
|
"TestContract": {
|
||||||
"args": ["$STT"]
|
"args": ["$STT"],
|
||||||
|
"gasPrice": 20000000000
|
||||||
}*/
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue