Skip to content
Open
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
2 changes: 1 addition & 1 deletion docs/bc-fusion/developers/staking.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ the `getPooledBNB` of the credit contract of a validator, 3) do the math.

The contract does not provide a function to get the total staking address of a validator.
It needs a offchain service to index `Delegated`, `Redelegated`, `Undelegated` events for the purpose.
For example, you can consider building an indexer to crawl `Delegated`, `Redelegated`, `Undelegated` events on [stakeHub contract](https://bscscan.com/address/0x0000000000000000000000000000000000002002) first. Then sort the events according to your requirements.
For example, you can consider building an indexer to crawl `Delegated`, `Redelegated`, `Undelegated` events on [stakeHub contract](https://bsctrace.com/address/0x0000000000000000000000000000000000002002) first. Then sort the events according to your requirements.

### How to get all validators' information?

Expand Down
8 changes: 4 additions & 4 deletions docs/bc-fusion/users/bep153-stake-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ Staking Derivatives (LSD) protocol's users.

## For Individual Delegators

1. Open the [Staking contract](https://bscscan.com/address/0x0000000000000000000000000000000000002001) on BSCScan
1. Open the [Staking contract](https://bsctrace.com/address/0x0000000000000000000000000000000000002001) on BSCTrace

2. You can find your delegation information on the "Transactions" tab, or you can query the contract as the following:
* Go to the [Staking contract tab](https://bscscan.com/address/0x0000000000000000000000000000000000002001#readContract)
* Go to the [Staking contract tab](https://bsctrace.com/address/0x0000000000000000000000000000000000002001?tab=Contract&p=1&view=contract_read)
* Query the `getDelegated` function with your address as the parameter
![img](../../assets/bcfusion/bep153-migration1.png)

3. Undelegate your delegations by calling
the `undelegate` [function](https://bscscan.com/address/0x0000000000000000000000000000000000002001#writeContract)
the `undelegate` [function](https://bsctrace.com/address/0x0000000000000000000000000000000000002001?tab=Contract&p=1&view=contract_write)
![img](../../assets/bcfusion/bep153-migration2.png)

4. Afther the unbounding period (7 days), call
the `claimUndelegated` [function](https://bscscan.com/address/0x0000000000000000000000000000000000002001#writeContract)
the `claimUndelegated` [function](https://bsctrace.com/address/0x0000000000000000000000000000000000002001?tab=Contract&p=1&view=contract_write)
to get your BNB back
![img](../../assets/bcfusion/bep153-migration3.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ log('send crosschain tx!');
const receipt = await waitTx(
demo.createBucket(bucketName, transferOutAmt, executorData, { value })
);
log(`https://testnet.bscscan.com/tx/${receipt.transactionHash}`);
log(`https://testnet.bsctrace.com/tx/${receipt.transactionHash}`);
```

#### get bucket id by name after bucket created
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mirror object succ, txHash: 0774F400EBD42FAB009A6B3C303EF8625B57AB551E0F065C546B
```
You can go to [GreenfieldScan](https://testnet.greenfieldscan.com) to view the details of mirror operation.

Then, go to [BscScan](https://testnet.bscscan.com) and you can find out that there is a NFT transferred to you.
Then, go to [BSCTrace](https://testnet.bsctrace.com) and you can find out that there is a NFT transferred to you.

![Transaction Details](../../static/asset/mirror-object.png)

Expand All @@ -44,7 +44,7 @@ mirror bucket succ, txHash: 0xba1ca47a2271864b2010158b13535331301ba3289aab8e3735
```
You can go to [GreenfieldScan](https://testnet.greenfieldscan.com) to view the details of mirror operation.

Then, go to [BscScan](https://testnet.bscscan.com) and you can find out that there is a NFT transferred to you.
Then, go to [BSCTrace](https://testnet.bsctrace.com) and you can find out that there is a NFT transferred to you.


## Mirror Group
Expand All @@ -68,5 +68,5 @@ transaction hash: 99A749ECC3CEB8B7CF4B8132A19D1A04EF7247F8549477B6AD28CA69BD11E6
```
You can go to [GreenfieldScan](https://testnet.greenfieldscan.com) to view the details of mirror operation.

Then, go to [BscScan](https://testnet.bscscan.com) and you can find out that there is a NFT transferred to you.
Then, go to [BSCTrace](https://testnet.bsctrace.com) and you can find out that there is a NFT transferred to you.

Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ transfer their BNBs between Greenfield and BSC. The following cross-chain bridge

### Mainnet
- [Greenfield Explorer](https://greenfieldscan.com), developed by TraceReal.
- [BSC Explorer](https://bscscan.com/)
- [BSC Explorer](https://bsctrace.com/)

### Testnet
- [Greenfield Testnet Explorer](https://testnet.greenfieldscan.com/), developed by TraceReal.
- [BSC Testnet Explorer](https://testnet.bscscan.com)
- [BSC Testnet Explorer](https://testnet.bsctrace.com)

## DCellar
[DCellar](https://dcellar.io), as the inaugural application built on the BNB Greenfield, serves as an ultimate client of
Expand Down
2 changes: 1 addition & 1 deletion docs/bnb-opbnb/advanced/run-your-own-l2-with-opbnb.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ forge script scripts/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --
```
If you see a nondescript error that includes `EvmError: Revert` and `Script failed` then you likely need to change the `IMPL_SALT` environment variable. This variable determines the addresses of various smart contracts that are deployed via [CREATE2](https://eips.ethereum.org/EIPS/eip-1014). If the same `IMPL_SALT` is used to deploy the same contracts twice, the second deployment will fail. You can generate a new `IMPL_SALT` by running `direnv` allow anywhere in the opbnb.

You can check the DEPLOYMENT_OUTFILE after deployed successfully. The contract address will be printed when the script running and the address can searched in https://testnet.bscscan.com/ .
You can check the DEPLOYMENT_OUTFILE after deployed successfully. The contract address will be printed when the script running and the address can searched in https://testnet.bsctrace.com/ .

### L1 Contracts

Expand Down
Loading
Loading