diff --git a/webapp/controller/StakingController.class.php b/webapp/controller/StakingController.class.php index 85ff435f..086cef19 100644 --- a/webapp/controller/StakingController.class.php +++ b/webapp/controller/StakingController.class.php @@ -107,6 +107,11 @@ class StakingController extends BaseAuthedController { )); } + public function redeemPreview() + { + $transId = getReqVal('trans_id', 0); + } + private function isTypeNft($type, $dbInfo) { switch ($type) { diff --git a/webapp/models/Staking.php b/webapp/models/Staking.php index 225e250b..fe154ffc 100644 --- a/webapp/models/Staking.php +++ b/webapp/models/Staking.php @@ -183,6 +183,7 @@ class Staking extends BaseModel { { $stakingMeta = mt\Staking::get($row['item_id']); $dto = array( + 'trans_id' => $row['idx'], 'token_id' => $row['token_id'], 'token_type' => $row['token_type'], 'contract_address' => $row['contract_address'],