Skip to content

Commit

Permalink
fix: Remove minter
Browse files Browse the repository at this point in the history
  • Loading branch information
akashiceth committed May 7, 2023
1 parent 8928cf3 commit 53005b7
Show file tree
Hide file tree
Showing 18 changed files with 278 additions and 200 deletions.
3 changes: 2 additions & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"func-name-mixedcase": "off",
"not-rely-on-time": "off",
"reason-string": "off",
"no-empty-blocks": "off"
"no-empty-blocks": "off",
"max-states-count": ["warn", 20]
}
}
6 changes: 3 additions & 3 deletions abis/BendNftPool.json
Original file line number Diff line number Diff line change
Expand Up @@ -377,17 +377,17 @@
},
{
"internalType": "contract IStakedNft",
"name": "stBayc",
"name": "stBayc_",
"type": "address"
},
{
"internalType": "contract IStakedNft",
"name": "stMayc",
"name": "stMayc_",
"type": "address"
},
{
"internalType": "contract IStakedNft",
"name": "stBakc",
"name": "stBakc_",
"type": "address"
}
],
Expand Down
111 changes: 111 additions & 0 deletions abis/BendStakeManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,21 @@
"internalType": "contract INftVault",
"name": "nftVault_",
"type": "address"
},
{
"internalType": "contract IStakedNft",
"name": "stBayc_",
"type": "address"
},
{
"internalType": "contract IStakedNft",
"name": "stMayc_",
"type": "address"
},
{
"internalType": "contract IStakedNft",
"name": "stBakc_",
"type": "address"
}
],
"name": "initialize",
Expand All @@ -406,6 +421,29 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IStakedNft",
"name": "stNft_",
"type": "address"
},
{
"internalType": "address",
"name": "to_",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "tokenIds_",
"type": "uint256[]"
}
],
"name": "mintStNft",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "nftPool",
Expand All @@ -432,6 +470,40 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"name": "onERC721Received",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
Expand Down Expand Up @@ -522,6 +594,45 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stBakc",
"outputs": [
{
"internalType": "contract IStakedNft",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stBayc",
"outputs": [
{
"internalType": "contract IStakedNft",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stMayc",
"outputs": [
{
"internalType": "contract IStakedNft",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down
62 changes: 62 additions & 0 deletions abis/IStakeManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,29 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IStakedNft",
"name": "stNft_",
"type": "address"
},
{
"internalType": "address",
"name": "to_",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "tokenIds_",
"type": "uint256[]"
}
],
"name": "mintStNft",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pendingFeeAmount",
Expand Down Expand Up @@ -254,6 +277,45 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stBakc",
"outputs": [
{
"internalType": "contract IStakedNft",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stBayc",
"outputs": [
{
"internalType": "contract IStakedNft",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stMayc",
"outputs": [
{
"internalType": "contract IStakedNft",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down
24 changes: 0 additions & 24 deletions abis/IStakedNft.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@
},
{
"inputs": [
{
"internalType": "address",
"name": "staker",
"type": "address"
},
{
"internalType": "address",
"name": "to",
Expand All @@ -190,25 +185,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"name": "minterOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
Expand Down
24 changes: 0 additions & 24 deletions abis/StBAKC.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,6 @@
},
{
"inputs": [
{
"internalType": "address",
"name": "staker_",
"type": "address"
},
{
"internalType": "address",
"name": "to_",
Expand All @@ -240,25 +235,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "minterOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
Expand Down
24 changes: 0 additions & 24 deletions abis/StBAYC.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,6 @@
},
{
"inputs": [
{
"internalType": "address",
"name": "staker_",
"type": "address"
},
{
"internalType": "address",
"name": "to_",
Expand All @@ -240,25 +235,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "minterOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
Expand Down
24 changes: 0 additions & 24 deletions abis/StMAYC.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,6 @@
},
{
"inputs": [
{
"internalType": "address",
"name": "staker_",
"type": "address"
},
{
"internalType": "address",
"name": "to_",
Expand All @@ -240,25 +235,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "minterOf",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
Expand Down
Loading

0 comments on commit 53005b7

Please sign in to comment.