Skip to content

Commit

Permalink
Migrate to lsp contract 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lykhonis committed Dec 1, 2023
1 parent 3f8c7c1 commit 50143dd
Show file tree
Hide file tree
Showing 36 changed files with 1,110 additions and 305 deletions.
107 changes: 71 additions & 36 deletions artifacts/abi/assets/lsp7/GenesisDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,25 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "batchCalls",
"inputs": [
{
"name": "data",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"outputs": [
{
"name": "results",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "beneficiary",
Expand Down Expand Up @@ -457,37 +476,6 @@
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "AuthorizedOperator",
"inputs": [
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "operatorNotificationData",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "BeneficiaryChanged",
Expand Down Expand Up @@ -528,26 +516,38 @@
},
{
"type": "event",
"name": "OwnershipTransferred",
"name": "OperatorAuthorizationChanged",
"inputs": [
{
"name": "previousOwner",
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"name": "tokenOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "operatorNotificationData",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RevokedOperator",
"name": "OperatorRevoked",
"inputs": [
{
"name": "operator",
Expand All @@ -564,7 +564,7 @@
{
"name": "notified",
"type": "bool",
"indexed": false,
"indexed": true,
"internalType": "bool"
},
{
Expand All @@ -576,6 +576,25 @@
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Transfer",
Expand Down Expand Up @@ -671,6 +690,11 @@
"name": "LSP4TokenSymbolNotEditable",
"inputs": []
},
{
"type": "error",
"name": "LSP4TokenTypeNotEditable",
"inputs": []
},
{
"type": "error",
"name": "LSP7AmountExceedsAuthorizedAmount",
Expand Down Expand Up @@ -718,6 +742,17 @@
}
]
},
{
"type": "error",
"name": "LSP7BatchCallFailed",
"inputs": [
{
"name": "callIndex",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "LSP7CannotSendToSelf",
Expand Down
112 changes: 76 additions & 36 deletions artifacts/abi/assets/lsp7/MintableDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"type": "address",
"internalType": "address"
},
{
"name": "lsp4TokenType_",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "isNonDivisible_",
"type": "bool",
Expand Down Expand Up @@ -104,6 +109,25 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "batchCalls",
"inputs": [
{
"name": "data",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"outputs": [
{
"name": "results",
"type": "bytes[]",
"internalType": "bytes[]"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "decimals",
Expand Down Expand Up @@ -451,37 +475,6 @@
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "AuthorizedOperator",
"inputs": [
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "operatorNotificationData",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "DataChanged",
Expand All @@ -503,26 +496,38 @@
},
{
"type": "event",
"name": "OwnershipTransferred",
"name": "OperatorAuthorizationChanged",
"inputs": [
{
"name": "previousOwner",
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"name": "tokenOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "operatorNotificationData",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RevokedOperator",
"name": "OperatorRevoked",
"inputs": [
{
"name": "operator",
Expand All @@ -539,7 +544,7 @@
{
"name": "notified",
"type": "bool",
"indexed": false,
"indexed": true,
"internalType": "bool"
},
{
Expand All @@ -551,6 +556,25 @@
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Transfer",
Expand Down Expand Up @@ -641,6 +665,11 @@
"name": "LSP4TokenSymbolNotEditable",
"inputs": []
},
{
"type": "error",
"name": "LSP4TokenTypeNotEditable",
"inputs": []
},
{
"type": "error",
"name": "LSP7AmountExceedsAuthorizedAmount",
Expand Down Expand Up @@ -688,6 +717,17 @@
}
]
},
{
"type": "error",
"name": "LSP7BatchCallFailed",
"inputs": [
{
"name": "callIndex",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "LSP7CannotSendToSelf",
Expand Down
Loading

0 comments on commit 50143dd

Please sign in to comment.