---
# System prepended metadata

title: Salp test workflow

---

# Salp test workflow


![](https://i.imgur.com/smtZM2l.png)



## Fund Success


| seq |source| call  | origin  | acceptance criteria|
| -------- | -------- |-------- | -------- | -------- |
| 1     |relaychain| create   | fund owner    |  created event
| 2     | parachain | create    | root    |  created event
| 3     | parachain | contribute      | signed account as contributor     | contributing event in parachain& contributed event in relaychain
| 3     | parachain | confirmContribute    | multisig confirm account     | contributed event in parachain
| 4     | parachain | fundSuccess     | root     | fund status changed event
| 5     | parachain | unlock     | any signed account | unlocked event
| 6     | parachain | fundRetire    | root     | fund status changed event
| 7     | relaychain | withdraw  | any signed account     | withdrew event
| 8     | parachain | withdraw  | root     | withdrew event
| 9     | parachain | redeem      | contributor     | redeemed event
| 10     | parachain | fund_end       | root     | fund status changed event
| 11     | parachain | dissolve       | root     | dissolved event


## Fund Failed


| seq |source| call  | origin  | acceptance criteria|
| -------- | -------- |-------- | -------- | -------- |
| 1     |relaychain| create   | fund owner    |  created event
| 2     | parachain | create    | root    |  created event
| 3     | parachain | contribute      | signed account as contributor     | contributing event in parachain& contributed event in relaychain
| 3     | parachain | confirmContribute    | multisig confirm account     | contributed event in parachain
| 4     | parachain | fundFail     | root     | fund status changed event
| 7     | relaychain | withdraw  | any signed account     | withdrew event
| 8     | parachain | withdraw  | root     | withdrew event
| 9     | parachain | refund      | contributor     | refund event
| 10     | parachain | fund_end       | root     | fund status changed event
| 11     | parachain | dissolve       | root     | dissolved event



## Tips
* following the acceptance criteria above we may use polkadot-js for each call and check event trigged and storage changed as expected,e.g:

![](https://i.imgur.com/4GR0jXE.png)

![](https://i.imgur.com/fzVOKYT.png)
  
![](https://i.imgur.com/nSMwJ1O.png)

![](https://i.imgur.com/9LrLX67.png)

![](https://i.imgur.com/Ofe6y2s.png)



