aboutsummaryrefslogtreecommitdiffstats
path: root/common/resolver/contracts.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/resolver/contracts.go')
-rw-r--r--common/resolver/contracts.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/resolver/contracts.go b/common/resolver/contracts.go
index ed7d648d6..4aad95e43 100644
--- a/common/resolver/contracts.go
+++ b/common/resolver/contracts.go
@@ -1,17 +1,17 @@
package resolver
const ( // built-in contracts address and code
- ContractCodeURLhint = "0x60b180600c6000396000f30060003560e060020a90048063d66d6c1014601557005b60216004356024356027565b60006000f35b6000600083815260200190815260200160002054600160a060020a0316600014806075575033600160a060020a03166000600084815260200190815260200160002054600160a060020a0316145b607c5760ad565b3360006000848152602001908152602001600020819055508060016000848152602001908152602001600020819055505b505056"
+ ContractCodeURLhint = "0x60c180600c6000396000f30060003560e060020a90048063300a3bbf14601557005b6024600435602435604435602a565b60006000f35b6000600084815260200190815260200160002054600160a060020a0316600014806078575033600160a060020a03166000600085815260200190815260200160002054600160a060020a0316145b607f5760bc565b336000600085815260200190815260200160002081905550806001600085815260200190815260200160002083610100811060b657005b01819055505b50505056"
/*
contract URLhint {
- function register(uint256 _hash, uint256 _url) {
+ function register(uint256 _hash, uint8 idx, uint256 _url) {
if (owner[_hash] == 0 || owner[_hash] == msg.sender) {
owner[_hash] = msg.sender;
- url[_hash] = _url;
+ url[_hash][idx] = _url;
}
}
mapping (uint256 => address) owner;
- mapping (uint256 => uint256) url;
+ mapping (uint256 => uint256[256]) url;
}
*/