Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 1 addition & 137 deletions contract-tests/src/contracts/staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,141 +454,5 @@ export const IStakingV2ABI = [
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spenderAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "netuid",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "absoluteAmount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [],
"stateMutability": "",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sourceAddress",
"type": "address"
},
{
"internalType": "address",
"name": "spenderAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "netuid",
"type": "uint256"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spenderAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "netuid",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "increaseAmount",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [],
"stateMutability": "",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spenderAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "netuid",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "decreaseAmount",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [],
"stateMutability": "",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "source_address",
"type": "address"
},
{
"internalType": "bytes32",
"name": "destination_coldkey",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "hotkey",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "origin_netuid",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "destination_netuid",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferStakeFrom",
"outputs": [],
"stateMutability": "",
"type": "function"
}
];
];
241 changes: 0 additions & 241 deletions contract-tests/test/staking.precompile.approval.test.ts

This file was deleted.

Loading
Loading