169 lines
2.0 KiB
JavaScript
169 lines
2.0 KiB
JavaScript
var address = "0xc6d9d2cd449a754c494264e1809c50e34d64562b";
|
|
var registrar = [
|
|
{
|
|
"constant":true,
|
|
"inputs":
|
|
[
|
|
{
|
|
"name":"_owner",
|
|
"type":"address"
|
|
}
|
|
],
|
|
"name":"name",
|
|
"outputs":
|
|
[
|
|
{
|
|
"name":"o_name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"type":"function"
|
|
},
|
|
{
|
|
"constant":true,
|
|
"inputs":
|
|
[
|
|
{
|
|
"name":"_name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"name":"owner",
|
|
"outputs":
|
|
[
|
|
{
|
|
"name":"o_owner",
|
|
"type":"address"
|
|
}
|
|
],
|
|
"type":"function"
|
|
},
|
|
{
|
|
"constant":true,
|
|
"inputs":
|
|
[
|
|
{
|
|
"name":"_name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"name":"getAddress",
|
|
"outputs":
|
|
[
|
|
{
|
|
"name":"o_owner",
|
|
"type":"address"
|
|
}
|
|
],
|
|
"type":"function"
|
|
},
|
|
{
|
|
"constant":true,
|
|
"inputs":
|
|
[
|
|
{
|
|
"name":"_name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"name":"content",
|
|
"outputs":
|
|
[
|
|
{
|
|
"name":"o_content",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"type":"function"
|
|
},
|
|
{
|
|
"constant":true,
|
|
"inputs":
|
|
[
|
|
{
|
|
"name":"_name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"name":"addr",
|
|
"outputs":
|
|
[
|
|
{
|
|
"name":"o_address",
|
|
"type":"address"
|
|
}
|
|
],
|
|
"type":"function"
|
|
},
|
|
{
|
|
"constant":true,
|
|
"inputs":
|
|
[
|
|
{
|
|
"name":"_name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"name":"subRegistrar",
|
|
"outputs":
|
|
[
|
|
{
|
|
"name":"o_subRegistrar",
|
|
"type":"address"
|
|
}
|
|
],
|
|
"type":"function"
|
|
},
|
|
{
|
|
"constant":true,
|
|
"inputs":
|
|
[
|
|
{
|
|
"name":"_owner",
|
|
"type":"address"
|
|
}
|
|
],
|
|
"name":"getName",
|
|
"outputs":
|
|
[
|
|
{
|
|
"name":"o_name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"type":"function"
|
|
},
|
|
{
|
|
"anonymous":false,
|
|
"inputs":
|
|
[
|
|
{
|
|
"indexed":true,
|
|
"name":"name",
|
|
"type":"bytes32"
|
|
}
|
|
],
|
|
"name":"Changed",
|
|
"type":"event"
|
|
},
|
|
{
|
|
"anonymous":false,
|
|
"inputs":
|
|
[
|
|
{
|
|
"indexed":true,
|
|
"name":"name",
|
|
"type":"bytes32"
|
|
},
|
|
{
|
|
"indexed":true,
|
|
"name":"addr",
|
|
"type":"address"
|
|
}
|
|
],
|
|
"name":"PrimaryChanged",
|
|
"type":"event"
|
|
}
|
|
];
|
|
|
|
module.exports = { desc: registrar, address: address}; |