mirror of
https://github.com/dap-ps/discover.git
synced 2025-03-03 02:10:30 +00:00
Prepare for deployment
This commit is contained in:
parent
4c5c88ea03
commit
8937893ceb
3
.gitignore
vendored
3
.gitignore
vendored
@ -4,8 +4,6 @@ config/development/mnemonic
|
||||
config/livenet/password
|
||||
config/production/password
|
||||
coverage
|
||||
src/embarkArtifacts
|
||||
embarkArtifacts
|
||||
node_modules
|
||||
package-lock.json
|
||||
dist
|
||||
@ -30,6 +28,7 @@ dist
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
|
@ -76,16 +76,16 @@ module.exports = {
|
||||
TestBancorFormula: { deploy: false },
|
||||
SNT: {
|
||||
instanceOf: 'MiniMeToken',
|
||||
address: '0x2764b5da3696E3613Ef9864E9B4613f9fA478E75',
|
||||
address: '0x25B1bD06fBfC2CbDbFc174e10f1B78b1c91cc77B',
|
||||
},
|
||||
Discover: { address: '0x3449Eb0705C9f0A77B687E7247c31e4A65f60dD4' },
|
||||
Discover: { address: '0xad28BF7423874B678dFAFb526433c62624dcaB45' },
|
||||
// SNT: {
|
||||
// instanceOf: 'MiniMeToken',
|
||||
// args: [
|
||||
// '$MiniMeTokenFactory',
|
||||
// '0x0000000000000000000000000000000000000000',
|
||||
// 0,
|
||||
// 'TestMiniMeToken',
|
||||
// 'SNTMiniMeToken',
|
||||
// 18,
|
||||
// 'SNT',
|
||||
// true,
|
||||
@ -115,7 +115,9 @@ module.exports = {
|
||||
// used with "embark run testnet"
|
||||
testnet: {
|
||||
deployment: {
|
||||
accounts: [{ mnemonic: wallet.mnemonic }],
|
||||
accounts: [{
|
||||
mnemonic: wallet.mnemonic,
|
||||
}],
|
||||
host: `ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
|
||||
port: false,
|
||||
type: 'rpc',
|
||||
|
@ -1,2 +1,2 @@
|
||||
module.exports.mnemonic =
|
||||
'erupt point century seek certain escape solution flee elegant hard please pen'
|
||||
''
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"UPLOAD": "http://localhost:4000/metadata",
|
||||
"UPDATE": "http://localhost:4000/metadata/update",
|
||||
"APPROVE": "http://localhost:4000/metadata/approve/email",
|
||||
"RETRIEVE_METADATA": "http://localhost:4000/metadata",
|
||||
"RETRIEVE_ALL_METADATA": "http://localhost:4000/metadata/all"
|
||||
"UPLOAD": "http://dev.dap.ps:8081/metadata",
|
||||
"UPDATE": "http://dev.dap.ps:8081/metadata/update",
|
||||
"APPROVE": "http://dev.dap.ps:8081/metadata/approve/email",
|
||||
"RETRIEVE_METADATA": "http://dev.dap.ps:8081/metadata",
|
||||
"RETRIEVE_ALL_METADATA": "http://dev.dap.ps:8081/metadata/all"
|
||||
}
|
||||
|
7
src/embarkArtifacts/config/blockchain.json
Normal file
7
src/embarkArtifacts/config/blockchain.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"dappConnection": [
|
||||
"https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a"
|
||||
],
|
||||
"dappAutoEnable": true,
|
||||
"blockchainClient": "geth"
|
||||
}
|
7
src/embarkArtifacts/config/communication.json
Normal file
7
src/embarkArtifacts/config/communication.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"connection": {
|
||||
"host": "localhost",
|
||||
"port": 8546,
|
||||
"type": "ws"
|
||||
}
|
||||
}
|
11
src/embarkArtifacts/config/storage.json
Normal file
11
src/embarkArtifacts/config/storage.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"dappConnection": [
|
||||
{
|
||||
"provider": "ipfs",
|
||||
"protocol": "https",
|
||||
"host": "ipfs.infura.io",
|
||||
"port": 5001,
|
||||
"getUrl": "https://ipfs.infura.io/ipfs/"
|
||||
}
|
||||
]
|
||||
}
|
70
src/embarkArtifacts/contracts/ApproveAndCallFallBack.js
Normal file
70
src/embarkArtifacts/contracts/ApproveAndCallFallBack.js
Normal file
@ -0,0 +1,70 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let ApproveAndCallFallBackJSONConfig = {
|
||||
contract_name: {
|
||||
className: 'ApproveAndCallFallBack',
|
||||
args: [],
|
||||
code: '',
|
||||
runtimeBytecode: '',
|
||||
realRuntimeBytecode: '',
|
||||
linkReferences: {},
|
||||
swarmHash: '',
|
||||
gasEstimates: null,
|
||||
functionHashes: {
|
||||
'receiveApproval(address,uint256,address,bytes)': '8f4ffcb1',
|
||||
},
|
||||
abiDefinition: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'from', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
{ name: '_token', type: 'address' },
|
||||
{ name: '_data', type: 'bytes' },
|
||||
],
|
||||
name: 'receiveApproval',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/token/ApproveAndCallFallBack.sol',
|
||||
originalFilename: 'contracts/token/ApproveAndCallFallBack.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/token/ApproveAndCallFallBack.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
deploy: false,
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code: '',
|
||||
runtime_bytecode: '',
|
||||
real_runtime_bytecode: '',
|
||||
swarm_hash: '',
|
||||
gas_estimates: null,
|
||||
function_hashes: {
|
||||
'receiveApproval(address,uint256,address,bytes)': '8f4ffcb1',
|
||||
},
|
||||
abi: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'from', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
{ name: '_token', type: 'address' },
|
||||
{ name: '_data', type: 'bytes' },
|
||||
],
|
||||
name: 'receiveApproval',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
],
|
||||
}
|
||||
let ApproveAndCallFallBack = new EmbarkJS.Blockchain.Contract(
|
||||
ApproveAndCallFallBackJSONConfig,
|
||||
)
|
||||
export default ApproveAndCallFallBack
|
84
src/embarkArtifacts/contracts/BancorFormula.js
Normal file
84
src/embarkArtifacts/contracts/BancorFormula.js
Normal file
@ -0,0 +1,84 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let BancorFormulaJSONConfig = {
|
||||
contract_name: {
|
||||
deploy: false,
|
||||
className: 'BancorFormula',
|
||||
args: [],
|
||||
code:
|
||||
'608060405234801561001057600080fd5b506001606060020a641c35fedd1502036020556001605e60020a646c3390ecc902036021556001606160020a640cf801476102036022556001605f60020a6431bdb23e1d02036023556001605b60020a6502fb1d8fe08302036024556001605a60020a6505b771955b3702036025556001605960020a650af67a93bb5102036026556001605860020a6515060c256cb302036027556001605860020a651428a2f98d7302036028556001605660020a654d515663970902036029556001605560020a65944620b0e70f0203602a557011c592761c666fffffffffffffffffffff602b5570110a688680a757ffffffffffffffffffff602c55701056f1b5bedf77ffffffffffffffffffff602d55700faadceceeff8bffffffffffffffffffff602e55700f05dc6b27edadffffffffffffffffffff602f55700e67a5a25da4107fffffffffffffffffff603055700dcff115b14eedffffffffffffffffffff603155700d3e7a392431239fffffffffffffffffff603255700cb2ff529eb71e4fffffffffffffffffff603355700c2d415c3db974afffffffffffffffffff603455700bad03e7d883f69bffffffffffffffffff603555700b320d03b2c343d5ffffffffffffffffff603655700abc25204e02828dffffffffffffffffff603755700a4b16f74ee4bb207fffffffffffffffff6038557009deaf736ac1f569ffffffffffffffffff603955700976bd9952c7aa957fffffffffffffffff603a557009131271922eaa606fffffffffffffffff603b557008b380f3558668c46fffffffffffffffff603c55700857ddf0117efa215bffffffffffffffff603d556001608360020a03603e557007abbf6f6abb9d087fffffffffffffffff603f5570075af62cbac95f7dfa7fffffffffffffff60405570070d7fb7452e187ac13fffffffffffffff6041557006c3390ecc8af379295fffffffffffffff60425570067c00a3b07ffc01fd6fffffffffffffff604355700637b647c39cbb9d3d27ffffffffffffff6044557005f63b1fc104dbd39587ffffffffffffff6045557005b771955b36e12f7235ffffffffffffff60465570057b3d49dda84556d6f6ffffffffffffff60475570054183095b2c8ececf30ffffffffffffff60485570050a28be635ca2b888f77fffffffffffff6049557004d5156639708c9db33c3fffffffffffff604a557004a23105873875bd52dfdfffffffffffff604b55700471649d87199aa990756fffffffffffff604c557004429a21a029d4c1457cfbffffffffffff604d55700415bc6d6fb7dd71af2cb3ffffffffffff604e557003eab73b3bbfe282243ce1ffffffffffff604f557003c1771ac9fb6b4c18e229ffffffffffff605055700399e96897690418f785257fffffffffff605155700373fc456c53bb779bf0ea9fffffffffff60525570034f9e8e490c48e67e6ab8bfffffffffff60535570032cbfd4a7adc790560b3337ffffffffff60545570030b50570f6e5d2acca94613ffffffffff6055557002eb40f9f620fda6b56c2861ffffffffff6056557002cc8340ecb0d0f520a6af58ffffffffff6057557002af09481380a0a35cf1ba02ffffffffff605855700292c5bdd3b92ec810287b1b3fffffffff605955700277abdcdab07d5a77ac6d6b9fffffffff605a5570025daf6654b1eaa55fd64df5efffffffff605b55700244c49c648baa98192dce88b7ffffffff605c5570022ce03cd5619a311b2471268bffffffff605d55700215f77c045fbe885654a44a0fffffffff605e556001608160020a03605f557001eaefdbdaaee7421fc4d3ede5ffffffff6060557001d6bd8b2eb257df7e8ca57b09bfffffff6061557001c35fedd14b861eb0443f7f133fffffff6062557001b0ce43b322bcde4a56e8ada5afffffff60635570019f0028ec1fff007f5a195a39dfffffff60645570018ded91f0e72ee74f49b15ba527ffffff60655570017d8ec7f04136f4e5615fd41a63ffffff60665570016ddc6556cdb84bdc8d12d22e6fffffff60675570015ecf52776a1155b5bd8395814f7fffff60685570015060c256cb23b3b3cc3754cf40ffffff6069557001428a2f98d728ae223ddab715be3fffff606a5570013545598e5c23276ccf0ede68034fffff606b557001288c4161ce1d6f54b7f61081194fffff606c5570011c592761c666aa641d5a01a40f17ffff606d55700110a688680a7530515f3e6e6cfdcdffff606e557001056f1b5bedf75c6bcb2ce8aed428ffff606f556ffaadceceeff8a0890f3875f008277fff6070556ff05dc6b27edad306388a600f6ba0bfff6071556fe67a5a25da41063de1495d5b18cdbfff6072556fdcff115b14eedde6fc3aa5353f2e4fff6073556fd3e7a3924312399f9aae2e0f868f8fff6074556fcb2ff529eb71e41582cccd5a1ee26fff6075556fc2d415c3db974ab32a51840c0b67edff6076556fbad03e7d883f69ad5b0a186184e06bff6077556fb320d03b2c343d4829abd6075f0cc5ff6078556fabc25204e02828d73c6e80bcdb1a95bf6079556fa4b16f74ee4bb2040a1ec6c15fbbf2df607a556f9deaf736ac1f569deb1b5ae3f36c130f607b556f976bd9952c7aa957f5937d790ef65037607c556f9131271922eaa6064b73a22d0bd4f2bf607d556f8b380f3558668c46c91c49a2f8e967b9607e556f857ddf0117efa215952912839f6473e6607f556035806107c16000396000f3fe6080604052600080fdfea165627a7a72305820501e03daf2ce6c57fb36c5a3b0aa1a8bcbd890b002678de89da6ccb68f2af4540029',
|
||||
runtimeBytecode:
|
||||
'6080604052600080fdfea165627a7a72305820501e03daf2ce6c57fb36c5a3b0aa1a8bcbd890b002678de89da6ccb68f2af4540029',
|
||||
realRuntimeBytecode: '6080604052600080fdfea165627a7a72305820',
|
||||
linkReferences: {},
|
||||
swarmHash:
|
||||
'501e03daf2ce6c57fb36c5a3b0aa1a8bcbd890b002678de89da6ccb68f2af454',
|
||||
gasEstimates: {
|
||||
creation: {
|
||||
codeDepositCost: '10600',
|
||||
executionCost: '1921627',
|
||||
totalCost: '1932227',
|
||||
},
|
||||
internal: {
|
||||
'findPositionInMaxExpArray(uint256)': 'infinite',
|
||||
'floorLog2(uint256)': 'infinite',
|
||||
'generalExp(uint256,uint8)': 'infinite',
|
||||
'generalLog(uint256)': 'infinite',
|
||||
'optimalExp(uint256)': 'infinite',
|
||||
'optimalLog(uint256)': 'infinite',
|
||||
'power(uint256,uint256,uint32,uint32)': 'infinite',
|
||||
},
|
||||
},
|
||||
functionHashes: {},
|
||||
abiDefinition: [
|
||||
{
|
||||
inputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'constructor',
|
||||
},
|
||||
],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/utils/BancorFormula.sol',
|
||||
originalFilename: 'contracts/utils/BancorFormula.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/utils/BancorFormula.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code:
|
||||
'608060405234801561001057600080fd5b506001606060020a641c35fedd1502036020556001605e60020a646c3390ecc902036021556001606160020a640cf801476102036022556001605f60020a6431bdb23e1d02036023556001605b60020a6502fb1d8fe08302036024556001605a60020a6505b771955b3702036025556001605960020a650af67a93bb5102036026556001605860020a6515060c256cb302036027556001605860020a651428a2f98d7302036028556001605660020a654d515663970902036029556001605560020a65944620b0e70f0203602a557011c592761c666fffffffffffffffffffff602b5570110a688680a757ffffffffffffffffffff602c55701056f1b5bedf77ffffffffffffffffffff602d55700faadceceeff8bffffffffffffffffffff602e55700f05dc6b27edadffffffffffffffffffff602f55700e67a5a25da4107fffffffffffffffffff603055700dcff115b14eedffffffffffffffffffff603155700d3e7a392431239fffffffffffffffffff603255700cb2ff529eb71e4fffffffffffffffffff603355700c2d415c3db974afffffffffffffffffff603455700bad03e7d883f69bffffffffffffffffff603555700b320d03b2c343d5ffffffffffffffffff603655700abc25204e02828dffffffffffffffffff603755700a4b16f74ee4bb207fffffffffffffffff6038557009deaf736ac1f569ffffffffffffffffff603955700976bd9952c7aa957fffffffffffffffff603a557009131271922eaa606fffffffffffffffff603b557008b380f3558668c46fffffffffffffffff603c55700857ddf0117efa215bffffffffffffffff603d556001608360020a03603e557007abbf6f6abb9d087fffffffffffffffff603f5570075af62cbac95f7dfa7fffffffffffffff60405570070d7fb7452e187ac13fffffffffffffff6041557006c3390ecc8af379295fffffffffffffff60425570067c00a3b07ffc01fd6fffffffffffffff604355700637b647c39cbb9d3d27ffffffffffffff6044557005f63b1fc104dbd39587ffffffffffffff6045557005b771955b36e12f7235ffffffffffffff60465570057b3d49dda84556d6f6ffffffffffffff60475570054183095b2c8ececf30ffffffffffffff60485570050a28be635ca2b888f77fffffffffffff6049557004d5156639708c9db33c3fffffffffffff604a557004a23105873875bd52dfdfffffffffffff604b55700471649d87199aa990756fffffffffffff604c557004429a21a029d4c1457cfbffffffffffff604d55700415bc6d6fb7dd71af2cb3ffffffffffff604e557003eab73b3bbfe282243ce1ffffffffffff604f557003c1771ac9fb6b4c18e229ffffffffffff605055700399e96897690418f785257fffffffffff605155700373fc456c53bb779bf0ea9fffffffffff60525570034f9e8e490c48e67e6ab8bfffffffffff60535570032cbfd4a7adc790560b3337ffffffffff60545570030b50570f6e5d2acca94613ffffffffff6055557002eb40f9f620fda6b56c2861ffffffffff6056557002cc8340ecb0d0f520a6af58ffffffffff6057557002af09481380a0a35cf1ba02ffffffffff605855700292c5bdd3b92ec810287b1b3fffffffff605955700277abdcdab07d5a77ac6d6b9fffffffff605a5570025daf6654b1eaa55fd64df5efffffffff605b55700244c49c648baa98192dce88b7ffffffff605c5570022ce03cd5619a311b2471268bffffffff605d55700215f77c045fbe885654a44a0fffffffff605e556001608160020a03605f557001eaefdbdaaee7421fc4d3ede5ffffffff6060557001d6bd8b2eb257df7e8ca57b09bfffffff6061557001c35fedd14b861eb0443f7f133fffffff6062557001b0ce43b322bcde4a56e8ada5afffffff60635570019f0028ec1fff007f5a195a39dfffffff60645570018ded91f0e72ee74f49b15ba527ffffff60655570017d8ec7f04136f4e5615fd41a63ffffff60665570016ddc6556cdb84bdc8d12d22e6fffffff60675570015ecf52776a1155b5bd8395814f7fffff60685570015060c256cb23b3b3cc3754cf40ffffff6069557001428a2f98d728ae223ddab715be3fffff606a5570013545598e5c23276ccf0ede68034fffff606b557001288c4161ce1d6f54b7f61081194fffff606c5570011c592761c666aa641d5a01a40f17ffff606d55700110a688680a7530515f3e6e6cfdcdffff606e557001056f1b5bedf75c6bcb2ce8aed428ffff606f556ffaadceceeff8a0890f3875f008277fff6070556ff05dc6b27edad306388a600f6ba0bfff6071556fe67a5a25da41063de1495d5b18cdbfff6072556fdcff115b14eedde6fc3aa5353f2e4fff6073556fd3e7a3924312399f9aae2e0f868f8fff6074556fcb2ff529eb71e41582cccd5a1ee26fff6075556fc2d415c3db974ab32a51840c0b67edff6076556fbad03e7d883f69ad5b0a186184e06bff6077556fb320d03b2c343d4829abd6075f0cc5ff6078556fabc25204e02828d73c6e80bcdb1a95bf6079556fa4b16f74ee4bb2040a1ec6c15fbbf2df607a556f9deaf736ac1f569deb1b5ae3f36c130f607b556f976bd9952c7aa957f5937d790ef65037607c556f9131271922eaa6064b73a22d0bd4f2bf607d556f8b380f3558668c46c91c49a2f8e967b9607e556f857ddf0117efa215952912839f6473e6607f556035806107c16000396000f3fe6080604052600080fdfea165627a7a72305820501e03daf2ce6c57fb36c5a3b0aa1a8bcbd890b002678de89da6ccb68f2af4540029',
|
||||
runtime_bytecode:
|
||||
'6080604052600080fdfea165627a7a72305820501e03daf2ce6c57fb36c5a3b0aa1a8bcbd890b002678de89da6ccb68f2af4540029',
|
||||
real_runtime_bytecode: '6080604052600080fdfea165627a7a72305820',
|
||||
swarm_hash:
|
||||
'501e03daf2ce6c57fb36c5a3b0aa1a8bcbd890b002678de89da6ccb68f2af454',
|
||||
gas_estimates: {
|
||||
creation: {
|
||||
codeDepositCost: '10600',
|
||||
executionCost: '1921627',
|
||||
totalCost: '1932227',
|
||||
},
|
||||
internal: {
|
||||
'findPositionInMaxExpArray(uint256)': 'infinite',
|
||||
'floorLog2(uint256)': 'infinite',
|
||||
'generalExp(uint256,uint8)': 'infinite',
|
||||
'generalLog(uint256)': 'infinite',
|
||||
'optimalExp(uint256)': 'infinite',
|
||||
'optimalLog(uint256)': 'infinite',
|
||||
'power(uint256,uint256,uint32,uint32)': 'infinite',
|
||||
},
|
||||
},
|
||||
function_hashes: {},
|
||||
abi: [
|
||||
{
|
||||
inputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'constructor',
|
||||
},
|
||||
],
|
||||
}
|
||||
let BancorFormula = new EmbarkJS.Blockchain.Contract(BancorFormulaJSONConfig)
|
||||
export default BancorFormula
|
90
src/embarkArtifacts/contracts/Controlled.js
Normal file
90
src/embarkArtifacts/contracts/Controlled.js
Normal file
@ -0,0 +1,90 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let ControlledJSONConfig = {
|
||||
contract_name: {
|
||||
className: 'Controlled',
|
||||
args: [],
|
||||
code: '',
|
||||
runtimeBytecode: '',
|
||||
realRuntimeBytecode: '',
|
||||
linkReferences: {},
|
||||
swarmHash: '',
|
||||
gasEstimates: null,
|
||||
functionHashes: {
|
||||
'changeController(address)': '3cebb823',
|
||||
'controller()': 'f77c4791',
|
||||
},
|
||||
abiDefinition: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_newController', type: 'address' }],
|
||||
name: 'changeController',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [],
|
||||
name: 'controller',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
inputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'constructor',
|
||||
},
|
||||
],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/common/Controlled.sol',
|
||||
originalFilename: 'contracts/common/Controlled.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/common/Controlled.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
deploy: false,
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code: '',
|
||||
runtime_bytecode: '',
|
||||
real_runtime_bytecode: '',
|
||||
swarm_hash: '',
|
||||
gas_estimates: null,
|
||||
function_hashes: {
|
||||
'changeController(address)': '3cebb823',
|
||||
'controller()': 'f77c4791',
|
||||
},
|
||||
abi: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_newController', type: 'address' }],
|
||||
name: 'changeController',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [],
|
||||
name: 'controller',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
inputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'constructor',
|
||||
},
|
||||
],
|
||||
}
|
||||
let Controlled = new EmbarkJS.Blockchain.Contract(ControlledJSONConfig)
|
||||
export default Controlled
|
711
src/embarkArtifacts/contracts/Discover.js
Normal file
711
src/embarkArtifacts/contracts/Discover.js
Normal file
File diff suppressed because one or more lines are too long
359
src/embarkArtifacts/contracts/ENSRegistry.js
Normal file
359
src/embarkArtifacts/contracts/ENSRegistry.js
Normal file
@ -0,0 +1,359 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let ENSRegistryJSONConfig = {
|
||||
contract_name: {
|
||||
deploy: true,
|
||||
silent: true,
|
||||
args: [],
|
||||
className: 'ENSRegistry',
|
||||
code:
|
||||
'608060405234801561001057600080fd5b5060008080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb58054600160a060020a03191633179055610684806100596000396000f3006080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630178b8bf811461008757806302571be3146100bb57806306ab5923146100d357806314ab9038146100fc57806316a25cbd146101215780631896f70a146101565780635b0fc9c31461017a575b600080fd5b34801561009357600080fd5b5061009f60043561019e565b60408051600160a060020a039092168252519081900360200190f35b3480156100c757600080fd5b5061009f6004356101bc565b3480156100df57600080fd5b506100fa600435602435600160a060020a03604435166101d7565b005b34801561010857600080fd5b506100fa60043567ffffffffffffffff6024351661033c565b34801561012d57600080fd5b5061013960043561044d565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561016257600080fd5b506100fa600435600160a060020a0360243516610484565b34801561018657600080fd5b506100fa600435600160a060020a036024351661056f565b600090815260208190526040902060010154600160a060020a031690565b600090815260208190526040902054600160a060020a031690565b60008381526020819052604081205484908390600160a060020a031615806102155750600082815260208190526040902054600160a060020a031633145b806102395750600082815260208190526040902054600160a060020a038281169116145b151561024457600080fd5b604080516020808201899052818301889052825180830384018152606090920192839052815191929182918401908083835b602083106102955780518252601f199092019160209182019101610276565b51815160209384036101000a600019018019909216911617905260408051929094018290038220600160a060020a038b16835293519398508a95508b94507fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829391829003019150a350506000908152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050565b600082815260208190526040812054839190600160a060020a031615806103795750600082815260208190526040902054600160a060020a031633145b8061039d5750600082815260208190526040902054600160a060020a038281169116145b15156103a857600080fd5b6040805167ffffffffffffffff85168152905185917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68919081900360200190a25050600091825260208290526040909120600101805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60009081526020819052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff1690565b600082815260208190526040812054839190600160a060020a031615806104c15750600082815260208190526040902054600160a060020a031633145b806104e55750600082815260208190526040902054600160a060020a038281169116145b15156104f057600080fd5b60408051600160a060020a0385168152905185917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0919081900360200190a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b60008281526020819052604090205482908290600160a060020a031615806105ad5750600082815260208190526040902054600160a060020a031633145b806105d15750600082815260208190526040902054600160a060020a038281169116145b15156105dc57600080fd5b60408051600160a060020a0385168152905185917fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266919081900360200190a25050600091825260208290526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555600a165627a7a72305820ab29585bdb630f86714bdc052e84731ce84785d7ace426bc24c1104e8760968c0029',
|
||||
runtimeBytecode:
|
||||
'6080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630178b8bf811461008757806302571be3146100bb57806306ab5923146100d357806314ab9038146100fc57806316a25cbd146101215780631896f70a146101565780635b0fc9c31461017a575b600080fd5b34801561009357600080fd5b5061009f60043561019e565b60408051600160a060020a039092168252519081900360200190f35b3480156100c757600080fd5b5061009f6004356101bc565b3480156100df57600080fd5b506100fa600435602435600160a060020a03604435166101d7565b005b34801561010857600080fd5b506100fa60043567ffffffffffffffff6024351661033c565b34801561012d57600080fd5b5061013960043561044d565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561016257600080fd5b506100fa600435600160a060020a0360243516610484565b34801561018657600080fd5b506100fa600435600160a060020a036024351661056f565b600090815260208190526040902060010154600160a060020a031690565b600090815260208190526040902054600160a060020a031690565b60008381526020819052604081205484908390600160a060020a031615806102155750600082815260208190526040902054600160a060020a031633145b806102395750600082815260208190526040902054600160a060020a038281169116145b151561024457600080fd5b604080516020808201899052818301889052825180830384018152606090920192839052815191929182918401908083835b602083106102955780518252601f199092019160209182019101610276565b51815160209384036101000a600019018019909216911617905260408051929094018290038220600160a060020a038b16835293519398508a95508b94507fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829391829003019150a350506000908152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050565b600082815260208190526040812054839190600160a060020a031615806103795750600082815260208190526040902054600160a060020a031633145b8061039d5750600082815260208190526040902054600160a060020a038281169116145b15156103a857600080fd5b6040805167ffffffffffffffff85168152905185917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68919081900360200190a25050600091825260208290526040909120600101805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60009081526020819052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff1690565b600082815260208190526040812054839190600160a060020a031615806104c15750600082815260208190526040902054600160a060020a031633145b806104e55750600082815260208190526040902054600160a060020a038281169116145b15156104f057600080fd5b60408051600160a060020a0385168152905185917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0919081900360200190a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b60008281526020819052604090205482908290600160a060020a031615806105ad5750600082815260208190526040902054600160a060020a031633145b806105d15750600082815260208190526040902054600160a060020a038281169116145b15156105dc57600080fd5b60408051600160a060020a0385168152905185917fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266919081900360200190a25050600091825260208290526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555600a165627a7a72305820ab29585bdb630f86714bdc052e84731ce84785d7ace426bc24c1104e8760968c0029',
|
||||
realRuntimeBytecode:
|
||||
'6080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630178b8bf811461008757806302571be3146100bb57806306ab5923146100d357806314ab9038146100fc57806316a25cbd146101215780631896f70a146101565780635b0fc9c31461017a575b600080fd5b34801561009357600080fd5b5061009f60043561019e565b60408051600160a060020a039092168252519081900360200190f35b3480156100c757600080fd5b5061009f6004356101bc565b3480156100df57600080fd5b506100fa600435602435600160a060020a03604435166101d7565b005b34801561010857600080fd5b506100fa60043567ffffffffffffffff6024351661033c565b34801561012d57600080fd5b5061013960043561044d565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561016257600080fd5b506100fa600435600160a060020a0360243516610484565b34801561018657600080fd5b506100fa600435600160a060020a036024351661056f565b600090815260208190526040902060010154600160a060020a031690565b600090815260208190526040902054600160a060020a031690565b60008381526020819052604081205484908390600160a060020a031615806102155750600082815260208190526040902054600160a060020a031633145b806102395750600082815260208190526040902054600160a060020a038281169116145b151561024457600080fd5b604080516020808201899052818301889052825180830384018152606090920192839052815191929182918401908083835b602083106102955780518252601f199092019160209182019101610276565b51815160209384036101000a600019018019909216911617905260408051929094018290038220600160a060020a038b16835293519398508a95508b94507fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829391829003019150a350506000908152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050565b600082815260208190526040812054839190600160a060020a031615806103795750600082815260208190526040902054600160a060020a031633145b8061039d5750600082815260208190526040902054600160a060020a038281169116145b15156103a857600080fd5b6040805167ffffffffffffffff85168152905185917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68919081900360200190a25050600091825260208290526040909120600101805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60009081526020819052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff1690565b600082815260208190526040812054839190600160a060020a031615806104c15750600082815260208190526040902054600160a060020a031633145b806104e55750600082815260208190526040902054600160a060020a038281169116145b15156104f057600080fd5b60408051600160a060020a0385168152905185917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0919081900360200190a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b60008281526020819052604090205482908290600160a060020a031615806105ad5750600082815260208190526040902054600160a060020a031633145b806105d15750600082815260208190526040902054600160a060020a038281169116145b15156105dc57600080fd5b60408051600160a060020a0385168152905185917fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266919081900360200190a25050600091825260208290526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555600a165627a7a72305820',
|
||||
swarmHash:
|
||||
'ab29585bdb630f86714bdc052e84731ce84785d7ace426bc24c1104e8760968c',
|
||||
gasEstimates: {
|
||||
creation: {
|
||||
codeDepositCost: '333600',
|
||||
executionCost: '20684',
|
||||
totalCost: '354284',
|
||||
},
|
||||
external: {
|
||||
'owner(bytes32)': '634',
|
||||
'resolver(bytes32)': '618',
|
||||
'setOwner(bytes32,address)': '23389',
|
||||
'setResolver(bytes32,address)': '23370',
|
||||
'setSubnodeOwner(bytes32,bytes32,address)': 'infinite',
|
||||
'setTTL(bytes32,uint64)': '23130',
|
||||
'ttl(bytes32)': '579',
|
||||
},
|
||||
},
|
||||
functionHashes: {
|
||||
'owner(bytes32)': '02571be3',
|
||||
'resolver(bytes32)': '0178b8bf',
|
||||
'setOwner(bytes32,address)': '5b0fc9c3',
|
||||
'setResolver(bytes32,address)': '1896f70a',
|
||||
'setSubnodeOwner(bytes32,bytes32,address)': '06ab5923',
|
||||
'setTTL(bytes32,uint64)': '14ab9038',
|
||||
'ttl(bytes32)': '16a25cbd',
|
||||
},
|
||||
abiDefinition: [
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: 'node', type: 'bytes32' }],
|
||||
name: 'resolver',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
signature: '0x0178b8bf',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: 'node', type: 'bytes32' }],
|
||||
name: 'owner',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
signature: '0x02571be3',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'label', type: 'bytes32' },
|
||||
{ name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'setSubnodeOwner',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x06ab5923',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'ttl', type: 'uint64' },
|
||||
],
|
||||
name: 'setTTL',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x14ab9038',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: 'node', type: 'bytes32' }],
|
||||
name: 'ttl',
|
||||
outputs: [{ name: '', type: 'uint64' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
signature: '0x16a25cbd',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'resolver', type: 'address' },
|
||||
],
|
||||
name: 'setResolver',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x1896f70a',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'setOwner',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x5b0fc9c3',
|
||||
},
|
||||
{
|
||||
inputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'constructor',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: true, name: 'label', type: 'bytes32' },
|
||||
{ indexed: false, name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'NewOwner',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: false, name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'Transfer',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: false, name: 'resolver', type: 'address' },
|
||||
],
|
||||
name: 'NewResolver',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: false, name: 'ttl', type: 'uint64' },
|
||||
],
|
||||
name: 'NewTTL',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68',
|
||||
},
|
||||
],
|
||||
filename: 'C:/dev/embark/lib/modules/ens/contracts/ENSRegistry.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
_gasLimit: false,
|
||||
address: '0x112234455c3a32fd11230c42e7bccd4a84e02010',
|
||||
error: false,
|
||||
deploymentAccount: '0x299C59D7324f34Dc217B951d7340A94D186A6129',
|
||||
realArgs: [],
|
||||
deployedAddress: '0x112234455c3a32fd11230c42e7bccd4a84e02010',
|
||||
},
|
||||
address: '0x112234455c3a32fd11230c42e7bccd4a84e02010',
|
||||
code:
|
||||
'608060405234801561001057600080fd5b5060008080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb58054600160a060020a03191633179055610684806100596000396000f3006080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630178b8bf811461008757806302571be3146100bb57806306ab5923146100d357806314ab9038146100fc57806316a25cbd146101215780631896f70a146101565780635b0fc9c31461017a575b600080fd5b34801561009357600080fd5b5061009f60043561019e565b60408051600160a060020a039092168252519081900360200190f35b3480156100c757600080fd5b5061009f6004356101bc565b3480156100df57600080fd5b506100fa600435602435600160a060020a03604435166101d7565b005b34801561010857600080fd5b506100fa60043567ffffffffffffffff6024351661033c565b34801561012d57600080fd5b5061013960043561044d565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561016257600080fd5b506100fa600435600160a060020a0360243516610484565b34801561018657600080fd5b506100fa600435600160a060020a036024351661056f565b600090815260208190526040902060010154600160a060020a031690565b600090815260208190526040902054600160a060020a031690565b60008381526020819052604081205484908390600160a060020a031615806102155750600082815260208190526040902054600160a060020a031633145b806102395750600082815260208190526040902054600160a060020a038281169116145b151561024457600080fd5b604080516020808201899052818301889052825180830384018152606090920192839052815191929182918401908083835b602083106102955780518252601f199092019160209182019101610276565b51815160209384036101000a600019018019909216911617905260408051929094018290038220600160a060020a038b16835293519398508a95508b94507fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829391829003019150a350506000908152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050565b600082815260208190526040812054839190600160a060020a031615806103795750600082815260208190526040902054600160a060020a031633145b8061039d5750600082815260208190526040902054600160a060020a038281169116145b15156103a857600080fd5b6040805167ffffffffffffffff85168152905185917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68919081900360200190a25050600091825260208290526040909120600101805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60009081526020819052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff1690565b600082815260208190526040812054839190600160a060020a031615806104c15750600082815260208190526040902054600160a060020a031633145b806104e55750600082815260208190526040902054600160a060020a038281169116145b15156104f057600080fd5b60408051600160a060020a0385168152905185917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0919081900360200190a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b60008281526020819052604090205482908290600160a060020a031615806105ad5750600082815260208190526040902054600160a060020a031633145b806105d15750600082815260208190526040902054600160a060020a038281169116145b15156105dc57600080fd5b60408051600160a060020a0385168152905185917fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266919081900360200190a25050600091825260208290526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555600a165627a7a72305820ab29585bdb630f86714bdc052e84731ce84785d7ace426bc24c1104e8760968c0029',
|
||||
runtime_bytecode:
|
||||
'6080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630178b8bf811461008757806302571be3146100bb57806306ab5923146100d357806314ab9038146100fc57806316a25cbd146101215780631896f70a146101565780635b0fc9c31461017a575b600080fd5b34801561009357600080fd5b5061009f60043561019e565b60408051600160a060020a039092168252519081900360200190f35b3480156100c757600080fd5b5061009f6004356101bc565b3480156100df57600080fd5b506100fa600435602435600160a060020a03604435166101d7565b005b34801561010857600080fd5b506100fa60043567ffffffffffffffff6024351661033c565b34801561012d57600080fd5b5061013960043561044d565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561016257600080fd5b506100fa600435600160a060020a0360243516610484565b34801561018657600080fd5b506100fa600435600160a060020a036024351661056f565b600090815260208190526040902060010154600160a060020a031690565b600090815260208190526040902054600160a060020a031690565b60008381526020819052604081205484908390600160a060020a031615806102155750600082815260208190526040902054600160a060020a031633145b806102395750600082815260208190526040902054600160a060020a038281169116145b151561024457600080fd5b604080516020808201899052818301889052825180830384018152606090920192839052815191929182918401908083835b602083106102955780518252601f199092019160209182019101610276565b51815160209384036101000a600019018019909216911617905260408051929094018290038220600160a060020a038b16835293519398508a95508b94507fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829391829003019150a350506000908152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050565b600082815260208190526040812054839190600160a060020a031615806103795750600082815260208190526040902054600160a060020a031633145b8061039d5750600082815260208190526040902054600160a060020a038281169116145b15156103a857600080fd5b6040805167ffffffffffffffff85168152905185917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68919081900360200190a25050600091825260208290526040909120600101805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60009081526020819052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff1690565b600082815260208190526040812054839190600160a060020a031615806104c15750600082815260208190526040902054600160a060020a031633145b806104e55750600082815260208190526040902054600160a060020a038281169116145b15156104f057600080fd5b60408051600160a060020a0385168152905185917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0919081900360200190a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b60008281526020819052604090205482908290600160a060020a031615806105ad5750600082815260208190526040902054600160a060020a031633145b806105d15750600082815260208190526040902054600160a060020a038281169116145b15156105dc57600080fd5b60408051600160a060020a0385168152905185917fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266919081900360200190a25050600091825260208290526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555600a165627a7a72305820ab29585bdb630f86714bdc052e84731ce84785d7ace426bc24c1104e8760968c0029',
|
||||
real_runtime_bytecode:
|
||||
'6080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630178b8bf811461008757806302571be3146100bb57806306ab5923146100d357806314ab9038146100fc57806316a25cbd146101215780631896f70a146101565780635b0fc9c31461017a575b600080fd5b34801561009357600080fd5b5061009f60043561019e565b60408051600160a060020a039092168252519081900360200190f35b3480156100c757600080fd5b5061009f6004356101bc565b3480156100df57600080fd5b506100fa600435602435600160a060020a03604435166101d7565b005b34801561010857600080fd5b506100fa60043567ffffffffffffffff6024351661033c565b34801561012d57600080fd5b5061013960043561044d565b6040805167ffffffffffffffff9092168252519081900360200190f35b34801561016257600080fd5b506100fa600435600160a060020a0360243516610484565b34801561018657600080fd5b506100fa600435600160a060020a036024351661056f565b600090815260208190526040902060010154600160a060020a031690565b600090815260208190526040902054600160a060020a031690565b60008381526020819052604081205484908390600160a060020a031615806102155750600082815260208190526040902054600160a060020a031633145b806102395750600082815260208190526040902054600160a060020a038281169116145b151561024457600080fd5b604080516020808201899052818301889052825180830384018152606090920192839052815191929182918401908083835b602083106102955780518252601f199092019160209182019101610276565b51815160209384036101000a600019018019909216911617905260408051929094018290038220600160a060020a038b16835293519398508a95508b94507fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e829391829003019150a350506000908152602081905260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555050565b600082815260208190526040812054839190600160a060020a031615806103795750600082815260208190526040902054600160a060020a031633145b8061039d5750600082815260208190526040902054600160a060020a038281169116145b15156103a857600080fd5b6040805167ffffffffffffffff85168152905185917f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68919081900360200190a25050600091825260208290526040909120600101805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60009081526020819052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff1690565b600082815260208190526040812054839190600160a060020a031615806104c15750600082815260208190526040902054600160a060020a031633145b806104e55750600082815260208190526040902054600160a060020a038281169116145b15156104f057600080fd5b60408051600160a060020a0385168152905185917f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0919081900360200190a25050600091825260208290526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b60008281526020819052604090205482908290600160a060020a031615806105ad5750600082815260208190526040902054600160a060020a031633145b806105d15750600082815260208190526040902054600160a060020a038281169116145b15156105dc57600080fd5b60408051600160a060020a0385168152905185917fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266919081900360200190a25050600091825260208290526040909120805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555600a165627a7a72305820',
|
||||
swarm_hash:
|
||||
'ab29585bdb630f86714bdc052e84731ce84785d7ace426bc24c1104e8760968c',
|
||||
gas_estimates: {
|
||||
creation: {
|
||||
codeDepositCost: '333600',
|
||||
executionCost: '20684',
|
||||
totalCost: '354284',
|
||||
},
|
||||
external: {
|
||||
'owner(bytes32)': '634',
|
||||
'resolver(bytes32)': '618',
|
||||
'setOwner(bytes32,address)': '23389',
|
||||
'setResolver(bytes32,address)': '23370',
|
||||
'setSubnodeOwner(bytes32,bytes32,address)': 'infinite',
|
||||
'setTTL(bytes32,uint64)': '23130',
|
||||
'ttl(bytes32)': '579',
|
||||
},
|
||||
},
|
||||
function_hashes: {
|
||||
'owner(bytes32)': '02571be3',
|
||||
'resolver(bytes32)': '0178b8bf',
|
||||
'setOwner(bytes32,address)': '5b0fc9c3',
|
||||
'setResolver(bytes32,address)': '1896f70a',
|
||||
'setSubnodeOwner(bytes32,bytes32,address)': '06ab5923',
|
||||
'setTTL(bytes32,uint64)': '14ab9038',
|
||||
'ttl(bytes32)': '16a25cbd',
|
||||
},
|
||||
abi: [
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: 'node', type: 'bytes32' }],
|
||||
name: 'resolver',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
signature: '0x0178b8bf',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: 'node', type: 'bytes32' }],
|
||||
name: 'owner',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
signature: '0x02571be3',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'label', type: 'bytes32' },
|
||||
{ name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'setSubnodeOwner',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x06ab5923',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'ttl', type: 'uint64' },
|
||||
],
|
||||
name: 'setTTL',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x14ab9038',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: 'node', type: 'bytes32' }],
|
||||
name: 'ttl',
|
||||
outputs: [{ name: '', type: 'uint64' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
signature: '0x16a25cbd',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'resolver', type: 'address' },
|
||||
],
|
||||
name: 'setResolver',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x1896f70a',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: 'node', type: 'bytes32' },
|
||||
{ name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'setOwner',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
signature: '0x5b0fc9c3',
|
||||
},
|
||||
{
|
||||
inputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'constructor',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: true, name: 'label', type: 'bytes32' },
|
||||
{ indexed: false, name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'NewOwner',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0xce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: false, name: 'owner', type: 'address' },
|
||||
],
|
||||
name: 'Transfer',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0xd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: false, name: 'resolver', type: 'address' },
|
||||
],
|
||||
name: 'NewResolver',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0x335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: 'node', type: 'bytes32' },
|
||||
{ indexed: false, name: 'ttl', type: 'uint64' },
|
||||
],
|
||||
name: 'NewTTL',
|
||||
type: 'event',
|
||||
signature:
|
||||
'0x1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68',
|
||||
},
|
||||
],
|
||||
}
|
||||
let ENSRegistry = new EmbarkJS.Blockchain.Contract(ENSRegistryJSONConfig)
|
||||
export default ENSRegistry
|
224
src/embarkArtifacts/contracts/ERC20Token.js
Normal file
224
src/embarkArtifacts/contracts/ERC20Token.js
Normal file
@ -0,0 +1,224 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let ERC20TokenJSONConfig = {
|
||||
contract_name: {
|
||||
className: 'ERC20Token',
|
||||
args: [],
|
||||
code: '',
|
||||
runtimeBytecode: '',
|
||||
realRuntimeBytecode: '',
|
||||
linkReferences: {},
|
||||
swarmHash: '',
|
||||
gasEstimates: null,
|
||||
functionHashes: {
|
||||
'allowance(address,address)': 'dd62ed3e',
|
||||
'approve(address,uint256)': '095ea7b3',
|
||||
'balanceOf(address)': '70a08231',
|
||||
'totalSupply()': '18160ddd',
|
||||
'transfer(address,uint256)': 'a9059cbb',
|
||||
'transferFrom(address,address,uint256)': '23b872dd',
|
||||
},
|
||||
abiDefinition: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'approve',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [],
|
||||
name: 'totalSupply',
|
||||
outputs: [{ name: 'supply', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_from', type: 'address' },
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transferFrom',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: '_owner', type: 'address' }],
|
||||
name: 'balanceOf',
|
||||
outputs: [{ name: 'balance', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transfer',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_spender', type: 'address' },
|
||||
],
|
||||
name: 'allowance',
|
||||
outputs: [{ name: 'remaining', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_from', type: 'address' },
|
||||
{ indexed: true, name: '_to', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Transfer',
|
||||
type: 'event',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_owner', type: 'address' },
|
||||
{ indexed: true, name: '_spender', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Approval',
|
||||
type: 'event',
|
||||
},
|
||||
],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/token/ERC20Token.sol',
|
||||
originalFilename: 'contracts/token/ERC20Token.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/token/ERC20Token.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
deploy: false,
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code: '',
|
||||
runtime_bytecode: '',
|
||||
real_runtime_bytecode: '',
|
||||
swarm_hash: '',
|
||||
gas_estimates: null,
|
||||
function_hashes: {
|
||||
'allowance(address,address)': 'dd62ed3e',
|
||||
'approve(address,uint256)': '095ea7b3',
|
||||
'balanceOf(address)': '70a08231',
|
||||
'totalSupply()': '18160ddd',
|
||||
'transfer(address,uint256)': 'a9059cbb',
|
||||
'transferFrom(address,address,uint256)': '23b872dd',
|
||||
},
|
||||
abi: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'approve',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [],
|
||||
name: 'totalSupply',
|
||||
outputs: [{ name: 'supply', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_from', type: 'address' },
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transferFrom',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: '_owner', type: 'address' }],
|
||||
name: 'balanceOf',
|
||||
outputs: [{ name: 'balance', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transfer',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_spender', type: 'address' },
|
||||
],
|
||||
name: 'allowance',
|
||||
outputs: [{ name: 'remaining', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_from', type: 'address' },
|
||||
{ indexed: true, name: '_to', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Transfer',
|
||||
type: 'event',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_owner', type: 'address' },
|
||||
{ indexed: true, name: '_spender', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Approval',
|
||||
type: 'event',
|
||||
},
|
||||
],
|
||||
}
|
||||
let ERC20Token = new EmbarkJS.Blockchain.Contract(ERC20TokenJSONConfig)
|
||||
export default ERC20Token
|
874
src/embarkArtifacts/contracts/MiniMeToken.js
Normal file
874
src/embarkArtifacts/contracts/MiniMeToken.js
Normal file
File diff suppressed because one or more lines are too long
110
src/embarkArtifacts/contracts/MiniMeTokenFactory.js
Normal file
110
src/embarkArtifacts/contracts/MiniMeTokenFactory.js
Normal file
File diff suppressed because one or more lines are too long
424
src/embarkArtifacts/contracts/MiniMeTokenInterface.js
Normal file
424
src/embarkArtifacts/contracts/MiniMeTokenInterface.js
Normal file
@ -0,0 +1,424 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let MiniMeTokenInterfaceJSONConfig = {
|
||||
contract_name: {
|
||||
className: 'MiniMeTokenInterface',
|
||||
args: [],
|
||||
code: '',
|
||||
runtimeBytecode: '',
|
||||
realRuntimeBytecode: '',
|
||||
linkReferences: {},
|
||||
swarmHash: '',
|
||||
gasEstimates: null,
|
||||
functionHashes: {
|
||||
'allowance(address,address)': 'dd62ed3e',
|
||||
'approve(address,uint256)': '095ea7b3',
|
||||
'approveAndCall(address,uint256,bytes)': 'cae9ca51',
|
||||
'balanceOf(address)': '70a08231',
|
||||
'balanceOfAt(address,uint256)': '4ee2cd7e',
|
||||
'claimTokens(address)': 'df8de3e7',
|
||||
'createCloneToken(string,uint8,string,uint256,bool)': '6638c087',
|
||||
'destroyTokens(address,uint256)': 'd3ce77fe',
|
||||
'enableTransfers(bool)': 'f41e60c5',
|
||||
'generateTokens(address,uint256)': '827f32c0',
|
||||
'totalSupply()': '18160ddd',
|
||||
'totalSupplyAt(uint256)': '981b24d0',
|
||||
'transfer(address,uint256)': 'a9059cbb',
|
||||
'transferFrom(address,address,uint256)': '23b872dd',
|
||||
},
|
||||
abiDefinition: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'approve',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [],
|
||||
name: 'totalSupply',
|
||||
outputs: [{ name: 'supply', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_from', type: 'address' },
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transferFrom',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_blockNumber', type: 'uint256' },
|
||||
],
|
||||
name: 'balanceOfAt',
|
||||
outputs: [{ name: '', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_cloneTokenName', type: 'string' },
|
||||
{ name: '_cloneDecimalUnits', type: 'uint8' },
|
||||
{ name: '_cloneTokenSymbol', type: 'string' },
|
||||
{ name: '_snapshotBlock', type: 'uint256' },
|
||||
{ name: '_transfersEnabled', type: 'bool' },
|
||||
],
|
||||
name: 'createCloneToken',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: '_owner', type: 'address' }],
|
||||
name: 'balanceOf',
|
||||
outputs: [{ name: 'balance', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'generateTokens',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: '_blockNumber', type: 'uint256' }],
|
||||
name: 'totalSupplyAt',
|
||||
outputs: [{ name: '', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transfer',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
{ name: '_extraData', type: 'bytes' },
|
||||
],
|
||||
name: 'approveAndCall',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'destroyTokens',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_spender', type: 'address' },
|
||||
],
|
||||
name: 'allowance',
|
||||
outputs: [{ name: 'remaining', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_token', type: 'address' }],
|
||||
name: 'claimTokens',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_transfersEnabled', type: 'bool' }],
|
||||
name: 'enableTransfers',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_from', type: 'address' },
|
||||
{ indexed: true, name: '_to', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Transfer',
|
||||
type: 'event',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_owner', type: 'address' },
|
||||
{ indexed: true, name: '_spender', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Approval',
|
||||
type: 'event',
|
||||
},
|
||||
],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/token/MiniMeTokenInterface.sol',
|
||||
originalFilename: 'contracts/token/MiniMeTokenInterface.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/token/MiniMeTokenInterface.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
deploy: false,
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code: '',
|
||||
runtime_bytecode: '',
|
||||
real_runtime_bytecode: '',
|
||||
swarm_hash: '',
|
||||
gas_estimates: null,
|
||||
function_hashes: {
|
||||
'allowance(address,address)': 'dd62ed3e',
|
||||
'approve(address,uint256)': '095ea7b3',
|
||||
'approveAndCall(address,uint256,bytes)': 'cae9ca51',
|
||||
'balanceOf(address)': '70a08231',
|
||||
'balanceOfAt(address,uint256)': '4ee2cd7e',
|
||||
'claimTokens(address)': 'df8de3e7',
|
||||
'createCloneToken(string,uint8,string,uint256,bool)': '6638c087',
|
||||
'destroyTokens(address,uint256)': 'd3ce77fe',
|
||||
'enableTransfers(bool)': 'f41e60c5',
|
||||
'generateTokens(address,uint256)': '827f32c0',
|
||||
'totalSupply()': '18160ddd',
|
||||
'totalSupplyAt(uint256)': '981b24d0',
|
||||
'transfer(address,uint256)': 'a9059cbb',
|
||||
'transferFrom(address,address,uint256)': '23b872dd',
|
||||
},
|
||||
abi: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'approve',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [],
|
||||
name: 'totalSupply',
|
||||
outputs: [{ name: 'supply', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_from', type: 'address' },
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transferFrom',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_blockNumber', type: 'uint256' },
|
||||
],
|
||||
name: 'balanceOfAt',
|
||||
outputs: [{ name: '', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_cloneTokenName', type: 'string' },
|
||||
{ name: '_cloneDecimalUnits', type: 'uint8' },
|
||||
{ name: '_cloneTokenSymbol', type: 'string' },
|
||||
{ name: '_snapshotBlock', type: 'uint256' },
|
||||
{ name: '_transfersEnabled', type: 'bool' },
|
||||
],
|
||||
name: 'createCloneToken',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: '_owner', type: 'address' }],
|
||||
name: 'balanceOf',
|
||||
outputs: [{ name: 'balance', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'generateTokens',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [{ name: '_blockNumber', type: 'uint256' }],
|
||||
name: 'totalSupplyAt',
|
||||
outputs: [{ name: '', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'transfer',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
{ name: '_extraData', type: 'bytes' },
|
||||
],
|
||||
name: 'approveAndCall',
|
||||
outputs: [{ name: 'success', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'destroyTokens',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: true,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_spender', type: 'address' },
|
||||
],
|
||||
name: 'allowance',
|
||||
outputs: [{ name: 'remaining', type: 'uint256' }],
|
||||
payable: false,
|
||||
stateMutability: 'view',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_token', type: 'address' }],
|
||||
name: 'claimTokens',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_transfersEnabled', type: 'bool' }],
|
||||
name: 'enableTransfers',
|
||||
outputs: [],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_from', type: 'address' },
|
||||
{ indexed: true, name: '_to', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Transfer',
|
||||
type: 'event',
|
||||
},
|
||||
{
|
||||
anonymous: false,
|
||||
inputs: [
|
||||
{ indexed: true, name: '_owner', type: 'address' },
|
||||
{ indexed: true, name: '_spender', type: 'address' },
|
||||
{ indexed: false, name: '_value', type: 'uint256' },
|
||||
],
|
||||
name: 'Approval',
|
||||
type: 'event',
|
||||
},
|
||||
],
|
||||
}
|
||||
let MiniMeTokenInterface = new EmbarkJS.Blockchain.Contract(
|
||||
MiniMeTokenInterfaceJSONConfig,
|
||||
)
|
||||
export default MiniMeTokenInterface
|
509
src/embarkArtifacts/contracts/Resolver.js
Normal file
509
src/embarkArtifacts/contracts/Resolver.js
Normal file
File diff suppressed because one or more lines are too long
894
src/embarkArtifacts/contracts/SNT.js
Normal file
894
src/embarkArtifacts/contracts/SNT.js
Normal file
File diff suppressed because one or more lines are too long
66
src/embarkArtifacts/contracts/SafeMath.js
Normal file
66
src/embarkArtifacts/contracts/SafeMath.js
Normal file
@ -0,0 +1,66 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let SafeMathJSONConfig = {
|
||||
contract_name: {
|
||||
deploy: false,
|
||||
className: 'SafeMath',
|
||||
args: [],
|
||||
code:
|
||||
'604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058201c7ba53eadf51a75ddf58183145eae723240ee0162846cb78af14e9ac08e724f0029',
|
||||
runtimeBytecode:
|
||||
'73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058201c7ba53eadf51a75ddf58183145eae723240ee0162846cb78af14e9ac08e724f0029',
|
||||
realRuntimeBytecode:
|
||||
'73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820',
|
||||
linkReferences: {},
|
||||
swarmHash:
|
||||
'1c7ba53eadf51a75ddf58183145eae723240ee0162846cb78af14e9ac08e724f',
|
||||
gasEstimates: {
|
||||
creation: {
|
||||
codeDepositCost: '15200',
|
||||
executionCost: '116',
|
||||
totalCost: '15316',
|
||||
},
|
||||
internal: {
|
||||
'add(uint256,uint256)': 'infinite',
|
||||
'div(uint256,uint256)': 'infinite',
|
||||
'mul(uint256,uint256)': 'infinite',
|
||||
'sub(uint256,uint256)': 'infinite',
|
||||
},
|
||||
},
|
||||
functionHashes: {},
|
||||
abiDefinition: [],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/utils/SafeMath.sol',
|
||||
originalFilename: 'contracts/utils/SafeMath.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/utils/SafeMath.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code:
|
||||
'604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058201c7ba53eadf51a75ddf58183145eae723240ee0162846cb78af14e9ac08e724f0029',
|
||||
runtime_bytecode:
|
||||
'73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058201c7ba53eadf51a75ddf58183145eae723240ee0162846cb78af14e9ac08e724f0029',
|
||||
real_runtime_bytecode:
|
||||
'73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820',
|
||||
swarm_hash:
|
||||
'1c7ba53eadf51a75ddf58183145eae723240ee0162846cb78af14e9ac08e724f',
|
||||
gas_estimates: {
|
||||
creation: {
|
||||
codeDepositCost: '15200',
|
||||
executionCost: '116',
|
||||
totalCost: '15316',
|
||||
},
|
||||
internal: {
|
||||
'add(uint256,uint256)': 'infinite',
|
||||
'div(uint256,uint256)': 'infinite',
|
||||
'mul(uint256,uint256)': 'infinite',
|
||||
'sub(uint256,uint256)': 'infinite',
|
||||
},
|
||||
},
|
||||
function_hashes: {},
|
||||
abi: [],
|
||||
}
|
||||
let SafeMath = new EmbarkJS.Blockchain.Contract(SafeMathJSONConfig)
|
||||
export default SafeMath
|
234
src/embarkArtifacts/contracts/TestBancorFormula.js
Normal file
234
src/embarkArtifacts/contracts/TestBancorFormula.js
Normal file
File diff suppressed because one or more lines are too long
116
src/embarkArtifacts/contracts/TokenController.js
Normal file
116
src/embarkArtifacts/contracts/TokenController.js
Normal file
@ -0,0 +1,116 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let TokenControllerJSONConfig = {
|
||||
contract_name: {
|
||||
className: 'TokenController',
|
||||
args: [],
|
||||
code: '',
|
||||
runtimeBytecode: '',
|
||||
realRuntimeBytecode: '',
|
||||
linkReferences: {},
|
||||
swarmHash: '',
|
||||
gasEstimates: null,
|
||||
functionHashes: {
|
||||
'onApprove(address,address,uint256)': 'da682aeb',
|
||||
'onTransfer(address,address,uint256)': '4a393149',
|
||||
'proxyPayment(address)': 'f48c3054',
|
||||
},
|
||||
abiDefinition: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_from', type: 'address' },
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'onTransfer',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'onApprove',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_owner', type: 'address' }],
|
||||
name: 'proxyPayment',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: true,
|
||||
stateMutability: 'payable',
|
||||
type: 'function',
|
||||
},
|
||||
],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/token/TokenController.sol',
|
||||
originalFilename: 'contracts/token/TokenController.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/token/TokenController.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
deploy: false,
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code: '',
|
||||
runtime_bytecode: '',
|
||||
real_runtime_bytecode: '',
|
||||
swarm_hash: '',
|
||||
gas_estimates: null,
|
||||
function_hashes: {
|
||||
'onApprove(address,address,uint256)': 'da682aeb',
|
||||
'onTransfer(address,address,uint256)': '4a393149',
|
||||
'proxyPayment(address)': 'f48c3054',
|
||||
},
|
||||
abi: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_from', type: 'address' },
|
||||
{ name: '_to', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'onTransfer',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_owner', type: 'address' },
|
||||
{ name: '_spender', type: 'address' },
|
||||
{ name: '_amount', type: 'uint256' },
|
||||
],
|
||||
name: 'onApprove',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
{
|
||||
constant: false,
|
||||
inputs: [{ name: '_owner', type: 'address' }],
|
||||
name: 'proxyPayment',
|
||||
outputs: [{ name: '', type: 'bool' }],
|
||||
payable: true,
|
||||
stateMutability: 'payable',
|
||||
type: 'function',
|
||||
},
|
||||
],
|
||||
}
|
||||
let TokenController = new EmbarkJS.Blockchain.Contract(
|
||||
TokenControllerJSONConfig,
|
||||
)
|
||||
export default TokenController
|
72
src/embarkArtifacts/contracts/TokenFactory.js
Normal file
72
src/embarkArtifacts/contracts/TokenFactory.js
Normal file
@ -0,0 +1,72 @@
|
||||
import EmbarkJS from '../embarkjs'
|
||||
let TokenFactoryJSONConfig = {
|
||||
contract_name: {
|
||||
className: 'TokenFactory',
|
||||
args: [],
|
||||
code: '',
|
||||
runtimeBytecode: '',
|
||||
realRuntimeBytecode: '',
|
||||
linkReferences: {},
|
||||
swarmHash: '',
|
||||
gasEstimates: null,
|
||||
functionHashes: {
|
||||
'createCloneToken(address,uint256,string,uint8,string,bool)': '5b7b72c1',
|
||||
},
|
||||
abiDefinition: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_parentToken', type: 'address' },
|
||||
{ name: '_snapshotBlock', type: 'uint256' },
|
||||
{ name: '_tokenName', type: 'string' },
|
||||
{ name: '_decimalUnits', type: 'uint8' },
|
||||
{ name: '_tokenSymbol', type: 'string' },
|
||||
{ name: '_transfersEnabled', type: 'bool' },
|
||||
],
|
||||
name: 'createCloneToken',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
],
|
||||
filename:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/.embark/contracts/token/TokenFactory.sol',
|
||||
originalFilename: 'contracts/token/TokenFactory.sol',
|
||||
path:
|
||||
'/Users/lyubo/Desktop/Projects/Status/deployment/discover/contracts/token/TokenFactory.sol',
|
||||
gas: 'auto',
|
||||
type: 'file',
|
||||
deploy: false,
|
||||
_gasLimit: 6000000,
|
||||
error: false,
|
||||
},
|
||||
code: '',
|
||||
runtime_bytecode: '',
|
||||
real_runtime_bytecode: '',
|
||||
swarm_hash: '',
|
||||
gas_estimates: null,
|
||||
function_hashes: {
|
||||
'createCloneToken(address,uint256,string,uint8,string,bool)': '5b7b72c1',
|
||||
},
|
||||
abi: [
|
||||
{
|
||||
constant: false,
|
||||
inputs: [
|
||||
{ name: '_parentToken', type: 'address' },
|
||||
{ name: '_snapshotBlock', type: 'uint256' },
|
||||
{ name: '_tokenName', type: 'string' },
|
||||
{ name: '_decimalUnits', type: 'uint8' },
|
||||
{ name: '_tokenSymbol', type: 'string' },
|
||||
{ name: '_transfersEnabled', type: 'bool' },
|
||||
],
|
||||
name: 'createCloneToken',
|
||||
outputs: [{ name: '', type: 'address' }],
|
||||
payable: false,
|
||||
stateMutability: 'nonpayable',
|
||||
type: 'function',
|
||||
},
|
||||
],
|
||||
}
|
||||
let TokenFactory = new EmbarkJS.Blockchain.Contract(TokenFactoryJSONConfig)
|
||||
export default TokenFactory
|
17
src/embarkArtifacts/contracts/index.js
Normal file
17
src/embarkArtifacts/contracts/index.js
Normal file
@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
Controlled: require('./Controlled').default,
|
||||
ENSRegistry: require('./ENSRegistry').default,
|
||||
MiniMeToken: require('./MiniMeToken').default,
|
||||
TestBancorFormula: require('./TestBancorFormula').default,
|
||||
SafeMath: require('./SafeMath').default,
|
||||
TokenFactory: require('./TokenFactory').default,
|
||||
ApproveAndCallFallBack: require('./ApproveAndCallFallBack').default,
|
||||
MiniMeTokenInterface: require('./MiniMeTokenInterface').default,
|
||||
BancorFormula: require('./BancorFormula').default,
|
||||
ERC20Token: require('./ERC20Token').default,
|
||||
MiniMeTokenFactory: require('./MiniMeTokenFactory').default,
|
||||
TokenController: require('./TokenController').default,
|
||||
Discover: require('./Discover').default,
|
||||
Resolver: require('./Resolver').default,
|
||||
SNT: require('./SNT').default,
|
||||
}
|
1187
src/embarkArtifacts/embarkjs.js
Normal file
1187
src/embarkArtifacts/embarkjs.js
Normal file
File diff suppressed because it is too large
Load Diff
1
src/embarkArtifacts/modules/embarkjs
Symbolic link
1
src/embarkArtifacts/modules/embarkjs
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/lyubo/Desktop/Projects/Status/deployment/discover/node_modules/embarkjs/dist/node
|
1
src/embarkArtifacts/modules/eth-ens-namehash
Symbolic link
1
src/embarkArtifacts/modules/eth-ens-namehash
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/lyubo/Desktop/Projects/Status/deployment/discover/node_modules/eth-ens-namehash
|
1
src/embarkArtifacts/modules/ipfs-api
Symbolic link
1
src/embarkArtifacts/modules/ipfs-api
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/lyubo/Desktop/Projects/Status/deployment/discover/node_modules/ipfs-api/src
|
1
src/embarkArtifacts/modules/web3
Symbolic link
1
src/embarkArtifacts/modules/web3
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/lyubo/Desktop/Projects/Status/deployment/discover/node_modules/embark/node_modules/web3/src
|
Loading…
x
Reference in New Issue
Block a user