Skip to content

Commit

Permalink
Upgrade and deploy all contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
lykhonis committed Nov 10, 2023
1 parent 55bd424 commit f1bc7ba
Show file tree
Hide file tree
Showing 18 changed files with 215 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .env.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ CONTRACT_LSP8_OFFERS_ADDRESS=0xaebcc2c80abacb7e4d928d4c0a52c7bbeba4c4be
CONTRACT_LSP8_AUCTIONS_ADDRESS=0x39456bcd4d450e55f851f97c30df828a4e1f6c66
CONTRACT_LSP8_MARKETPLACE_ADDRESS=0xe9f0feab3d50ccbe40d99f669fe1e89172908cdf

CONTRACT_GENESIS_DIGITAL_ASSET_ADDRESS=0xcF72d263CccECC464637c5052D43999b01fDd383
CONTRACT_GENESIS_DIGITAL_ASSET_ADDRESS=0x86488e1c57115f6a7cad26a4f83367cb1e117911

CONTRACT_PAGE_NAME_ADDRESS=0x48e37a167a3ee426389dc6e1dc2d440e86c3737f

CONTRACT_COLLECTOR_DIGITAL_ASSET_ADDRESS=0x62ba935e50662687bf37281bde95010d6e64cd40
CONTRACT_COLLECTOR_DIGITAL_ASSET_ADDRESS=0x9eb7a7666fc33e7a68a061ac6de2e239f865658b

PAGE_NAME_BASE_URI=https://hiozjdbnltsamlbfrfjj.supabase.co/storage/v1/object/public/upn/token/

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
| mainnet | Points | |
| mainnet | Royalties | |
| testnet | PageName | 0x48e37a167a3ee426389dc6e1dc2d440e86c3737f |
| testnet | GenesisDigitalAsset | 0xcF72d263CccECC464637c5052D43999b01fDd383 |
| testnet | CollectorDigitalAsset | 0x1744807c38865bda3812a66884754421f65624dd |
| testnet | GenesisDigitalAsset | 0x86488e1c57115f6a7cad26a4f83367cb1e117911 |
| testnet | CollectorDigitalAsset | 0x9eb7a7666fc33e7a68a061ac6de2e239f865658b |
| testnet | Participant | 0x5a485297a1b909032a6b7000354f3322047028ee |
| testnet | LSP7Listings | 0x44cd7d06ceb509370b75e426ea3c12824a665e36 |
| testnet | LSP7Offers | 0xdf9defd55365b7b073cae009cf53dd830902c5a7 |
Expand Down
39 changes: 35 additions & 4 deletions artifacts/abi/assets/lsp7/GenesisDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@
"name": "LSP7NotifyTokenReceiverIsEOA",
"type": "error"
},
{
"inputs": [],
"name": "LSP7TokenContractCannotHoldValue",
"type": "error"
},
{
"inputs": [],
"name": "LSP7TokenOwnerCannotBeOperator",
Expand All @@ -187,6 +192,17 @@
"name": "NoExtensionFoundForFunctionSelector",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "OperatorAllowanceCannotBeIncreasedFromZero",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -301,6 +317,12 @@
"name": "tokenOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "notified",
"type": "bool"
},
{
"indexed": false,
"internalType": "bytes",
Expand Down Expand Up @@ -341,7 +363,7 @@
{
"indexed": false,
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -459,7 +481,7 @@
},
{
"internalType": "uint256",
"name": "substractedAmount",
"name": "subtractedAmount",
"type": "uint256"
},
{
Expand Down Expand Up @@ -606,6 +628,11 @@
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "notify",
"type": "bool"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
Expand Down Expand Up @@ -717,7 +744,7 @@
},
{
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -750,7 +777,7 @@
},
{
"internalType": "bool[]",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool[]"
},
{
Expand All @@ -776,5 +803,9 @@
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
41 changes: 36 additions & 5 deletions artifacts/abi/assets/lsp7/MintableDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@
"name": "LSP7NotifyTokenReceiverIsEOA",
"type": "error"
},
{
"inputs": [],
"name": "LSP7TokenContractCannotHoldValue",
"type": "error"
},
{
"inputs": [],
"name": "LSP7TokenOwnerCannotBeOperator",
Expand All @@ -197,6 +202,17 @@
"name": "NoExtensionFoundForFunctionSelector",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "OperatorAllowanceCannotBeIncreasedFromZero",
"type": "error"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -281,6 +297,12 @@
"name": "tokenOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "notified",
"type": "bool"
},
{
"indexed": false,
"internalType": "bytes",
Expand Down Expand Up @@ -321,7 +343,7 @@
{
"indexed": false,
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -426,7 +448,7 @@
},
{
"internalType": "uint256",
"name": "substractedAmount",
"name": "subtractedAmount",
"type": "uint256"
},
{
Expand Down Expand Up @@ -534,7 +556,7 @@
},
{
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -575,6 +597,11 @@
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "notify",
"type": "bool"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
Expand Down Expand Up @@ -686,7 +713,7 @@
},
{
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -719,7 +746,7 @@
},
{
"internalType": "bool[]",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool[]"
},
{
Expand All @@ -745,5 +772,9 @@
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
22 changes: 19 additions & 3 deletions artifacts/abi/assets/lsp8/CollectorIdentifiableDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,11 @@
"name": "LSP8TokenIdAlreadyMinted",
"type": "error"
},
{
"inputs": [],
"name": "LSP8TokenIdTypeNotEditable",
"type": "error"
},
{
"inputs": [],
"name": "LSP8TokenOwnerCannotBeOperator",
Expand Down Expand Up @@ -513,6 +518,12 @@
"name": "tokenId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bool",
"name": "notified",
"type": "bool"
},
{
"indexed": false,
"internalType": "bytes",
Expand Down Expand Up @@ -610,7 +621,7 @@
{
"indexed": false,
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -943,6 +954,11 @@
"name": "tokenId",
"type": "bytes32"
},
{
"internalType": "bool",
"name": "notify",
"type": "bool"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
Expand Down Expand Up @@ -1214,7 +1230,7 @@
},
{
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -1247,7 +1263,7 @@
},
{
"internalType": "bool[]",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool[]"
},
{
Expand Down
33 changes: 29 additions & 4 deletions artifacts/abi/assets/lsp8/MintableIdentifiableDigitalAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@
"name": "LSP8OperatorAlreadyAuthorized",
"type": "error"
},
{
"inputs": [],
"name": "LSP8TokenContractCannotHoldValue",
"type": "error"
},
{
"inputs": [
{
Expand All @@ -220,6 +225,11 @@
"name": "LSP8TokenIdAlreadyMinted",
"type": "error"
},
{
"inputs": [],
"name": "LSP8TokenIdTypeNotEditable",
"type": "error"
},
{
"inputs": [],
"name": "LSP8TokenOwnerCannotBeOperator",
Expand Down Expand Up @@ -326,6 +336,12 @@
"name": "tokenId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bool",
"name": "notified",
"type": "bool"
},
{
"indexed": false,
"internalType": "bytes",
Expand Down Expand Up @@ -366,7 +382,7 @@
{
"indexed": false,
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -520,7 +536,7 @@
},
{
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -566,6 +582,11 @@
"name": "tokenId",
"type": "bytes32"
},
{
"internalType": "bool",
"name": "notify",
"type": "bool"
},
{
"internalType": "bytes",
"name": "operatorNotificationData",
Expand Down Expand Up @@ -734,7 +755,7 @@
},
{
"internalType": "bool",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool"
},
{
Expand Down Expand Up @@ -767,7 +788,7 @@
},
{
"internalType": "bool[]",
"name": "allowNonLSP1Recipient",
"name": "force",
"type": "bool[]"
},
{
Expand All @@ -793,5 +814,9 @@
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
Loading

0 comments on commit f1bc7ba

Please sign in to comment.