Skip to content

Commit

Permalink
[REG-1430] RegistrarCustody contract
Browse files Browse the repository at this point in the history
  • Loading branch information
nickshatilo committed Oct 2, 2024
1 parent c280ab9 commit ac62b75
Show file tree
Hide file tree
Showing 16 changed files with 1,883 additions and 43 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v0.9.35

- Added `RegistrarCustody` contract

## v0.9.34

- Add `.lfg`, `.dream` Polygon TLD
Expand Down
188 changes: 188 additions & 0 deletions artifacts/IRegistrarCustody.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "IRegistrarCustody",
"sourceName": "contracts/IRegistrarCustody.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "DomainLocked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "hash",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"name": "isValidSignature",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "virtualOwner",
"type": "address"
},
{
"internalType": "string[]",
"name": "labels",
"type": "string[]"
},
{
"internalType": "string[]",
"name": "keys",
"type": "string[]"
},
{
"internalType": "string[]",
"name": "values",
"type": "string[]"
},
{
"internalType": "uint64",
"name": "expiry",
"type": "uint64"
}
],
"name": "registerDomain",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "safeTransfer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32[]",
"name": "hashes",
"type": "bytes32[]"
}
],
"name": "unlock",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "hash",
"type": "bytes32"
}
],
"name": "unlockedHashes",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "virtualOwners",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}
Loading

0 comments on commit ac62b75

Please sign in to comment.