Skip to content

Commit

Permalink
Upgrade to v0.11.1 lsp contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
lykhonis committed Sep 12, 2023
1 parent 0bbff96 commit 3e0857d
Show file tree
Hide file tree
Showing 33 changed files with 635 additions and 135 deletions.
88 changes: 88 additions & 0 deletions artifacts/abi/assets/lsp7/GenesisDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,28 @@
"name": "InvalidBeneficiary",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "storedData",
"type": "bytes"
}
],
"name": "InvalidExtensionAddress",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "InvalidFunctionSelector",
"type": "error"
},
{
"inputs": [],
"name": "LSP4TokenNameNotEditable",
Expand Down Expand Up @@ -154,6 +176,17 @@
"name": "LSP7TokenOwnerCannotBeOperator",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "functionSelector",
"type": "bytes4"
}
],
"name": "NoExtensionFoundForFunctionSelector",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -185,6 +218,12 @@
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "AuthorizedOperator",
Expand Down Expand Up @@ -261,6 +300,12 @@
"internalType": "address",
"name": "tokenOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "RevokedOperator",
Expand Down Expand Up @@ -309,6 +354,10 @@
"name": "Transfer",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [
{
Expand All @@ -320,6 +369,11 @@
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "authorizeOperator",
Expand Down Expand Up @@ -407,6 +461,11 @@
"internalType": "uint256",
"name": "substractedAmount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "decreaseAllowance",
Expand Down Expand Up @@ -452,6 +511,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "tokenOwner",
"type": "address"
}
],
"name": "getOperatorsOf",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand All @@ -463,6 +541,11 @@
"internalType": "uint256",
"name": "addedAmount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "increaseAllowance",
Expand Down Expand Up @@ -522,6 +605,11 @@
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "revokeOperator",
Expand Down
88 changes: 88 additions & 0 deletions artifacts/abi/assets/lsp7/MintableDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,28 @@
"name": "ERC725Y_MsgValueDisallowed",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "storedData",
"type": "bytes"
}
],
"name": "InvalidExtensionAddress",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "InvalidFunctionSelector",
"type": "error"
},
{
"inputs": [],
"name": "LSP4TokenNameNotEditable",
Expand Down Expand Up @@ -164,6 +186,17 @@
"name": "LSP7TokenOwnerCannotBeOperator",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "functionSelector",
"type": "bytes4"
}
],
"name": "NoExtensionFoundForFunctionSelector",
"type": "error"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -184,6 +217,12 @@
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "AuthorizedOperator",
Expand Down Expand Up @@ -241,6 +280,12 @@
"internalType": "address",
"name": "tokenOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "RevokedOperator",
Expand Down Expand Up @@ -289,6 +334,10 @@
"name": "Transfer",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [
{
Expand All @@ -300,6 +349,11 @@
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "authorizeOperator",
Expand Down Expand Up @@ -374,6 +428,11 @@
"internalType": "uint256",
"name": "substractedAmount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "decreaseAllowance",
Expand Down Expand Up @@ -419,6 +478,25 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "tokenOwner",
"type": "address"
}
],
"name": "getOperatorsOf",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand All @@ -430,6 +508,11 @@
"internalType": "uint256",
"name": "addedAmount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "increaseAllowance",
Expand Down Expand Up @@ -491,6 +574,11 @@
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
"type": "bytes"
}
],
"name": "revokeOperator",
Expand Down
Loading

0 comments on commit 3e0857d

Please sign in to comment.